1.88k likes | 2.07k Views
MySQL Query Lab I 25 Points. MySQL TU Database Dr. Thomas Hicks . You May Do This Lab On Your Own Personal Computer Or On Your Database System. Your Name _________________ Name This Presentation: Tom-Hicks-MySQL-Query-1.pptx {Substitute Your First & Last Names}. Computer Used Is
E N D
MySQL Query Lab I • 25 Points • MySQLTU Database • Dr. Thomas Hicks
You May Do This Lab On Your Own Personal Computer Or On Your Database System
Your Name _________________ Name This Presentation: Tom-Hicks-MySQL-Query-1.pptx{Substitute Your First & Last Names}
Computer Used Is _________________ {My Personal Computer or CS-??}
Your Slide Presentation Should Include Screen Captures That Are Cropped – Clear & Easy To Read
Helpful HintThere Will Often Be A Colored Title Bar At The Top Of A Slide If This Bar Is Light Blue – It Is Info That You Should Read! If This Bar Is Red – You Will Have Screen Captures To Replicate And/Or Questions To Answer If This Bar Is Green – You Will Have To Create Original Screen Captures And/Or Questions To Answer
Use The Snippping Tool To Help You With Your Screen Captures Use Both The Rectangular Snip & The Window Snip As Is Appropriate!
Use Good/Neat/Readable Captures Crop Your CapturesDon’t Include Extraneous Stuff! This Is Not Good! BAD!
Use The MySQL Command Line ClientAnswer All QuestionsReplace Screen Captures
The Basics Of SQL Are Generic Many Implementations Of MySQL Offer Additional Enhancements (i.e. MySQL Might Have A String Function, Or Mathematical Function, That Might Not Be Available In MSSQL) You Can Generally Add Your Own Custom Functions To Most SQL Environments.
SQL? SQL is an acronym for _____________________________________________________
MySQLFully RelalationalDatabase • Free Community VersionAvailable
Starting MySQL In The LabsOn Your ComputerReplace The Bottom Screen Capture With Yours
Open MySQL Command Line ClientReplace The Capture Below! We Are Using MySQL Server Version _?_ {4.4.3-beta below}
Put File • Library-Hicks On Your Desktop
Put File Library-Hicks.sql On Your DesktopShow The Size In General PropertiesReplace The Capture Below!
HELP • List MySQL Commands
Configure • MySQL Command • Window
Getting Ready To Change Window Properties Using the mouse, Right Mouse Click On The Top Of The Window and Select Properties
Set The Window Screen Text To WhiteSet Your Background To Red, Black, Green, Or NavyDo Not Select Maroon Background
Set The Window Properties As Illustrated BelowReplace The Capture Below!
Set The Window Screen Text To WhiteSet The Background To Red, Black, Green, Or NavyDo Not Select Maroon Background
CREATE DATABASE • Library?? • Replace ?? With Your Initials
Create Database Library?? [Replace ?? With Your Initials]Show All Databases On Your SystemReplace The Capture Below!
Change The 3 References To LibraryTHTo Library?? Where ?? Are Your Initials
Doug Wolf Would Make The Following ChangesExecute & Save & Refresh
It Is That Easy To Make Test Copy Of A DatabaseFrom The .sql Backup File
All Of The Fields In Your Database Will Match Those In My Database 100% • I Reserve The Right To Use Slightly Different Data In An Effort To Ensure That You Carefully Examine Your Own Queries! • All Of The Relationships In Your Database Will Match Those In My Database 100% • All Of The Table & Field Names Will Match 100%
A Database Is More Than A Collection Of Tables • Tables, Programs, Indexes, Views, Forms, Reports, Relationships, Etc.
Definitions of Database on the Web: A database is an organized body of related information wordnetweb.princeton.edu/perl/webwn A database is a structured collection of records or data that is stored in a computer system. The structure is achieved by organizing the data ...en.wikipedia.org/wiki/Database A database is a systematically arranged collection of computer data, structured so that it can be automatically retrieved or manipulatedvalidwebdesigns.com/glossary/ A database is a collection of data organized for search and retrieval.summitschool.com/8review/dbssterms.doc A collection of interrelated data items stored together without unnecessary redundancy, to serve one or more applications.www.4pcb.com/index.php
USE … (Database) • Open A Database • The Open Database Is Often Called The Default Database
Show All Databases On Your System. Open Your Library?? Database. Only One Database May Be Open At A Time.Replace The Capture Below!