Course description
The Introduction to MySQL course covers the basics of the SQL language as implemented by MySQL. The course is designed to give delegates practical experience in writing SQL statements using the mysql client program and MySQL Workbench. The basic SQL statements, including the use of SQL functions and the basic table and view handling statements are introduced.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
Who will the Course Benefit?Anyone who needs to access and work with a MySQL Database.
Course ObjectivesTo provide the skills needed to create and alter a MySQL database and query and modify data held within such a database.
Upcoming start dates
Suitability - Who should attend?
There are no formal pre-requisites for the Introduction to MySQL course, although an understanding of databases and exposure to information technology in general would be useful. This knowledge can be gained by attendance on the Relational Databases & Data Modelling Overview course.
Training Course Content
Introduction to MySQL Training Course
Course Contents - DAY 1
Course Introduction- Administration and course materials
- Course structure and agenda
- Delegate and trainer introductions
- What is a database?
- Database management systems
- Tables, rows and columns
- Indexes, primary keys, unique constraints and foreign keys
- Client-Server architecture
- Supported data types
- Storage engines and table types
- The Information_Schema and MySQL Databases
- Exercise: Using a MySQL Database
- What is the MySQL client?
- Getting started and Logging in
- Selecting a database
- Client commands
- Entering and executing SQL statements
- Retrieving previous commands
- Creating, editing and executing SQL files
- Redirecting output into a file
- Command line execution of MySQL Scripts
- Exercise: Using the MySQL Client
- The SQL SELECT statement
- Case sensitivity
- Quotes
- Statement terminator
- Syntax conventions
- The select clause
- The FROM clause
- Conditions and the WHERE clause
- Logical operators
- The ORDER BY clause
- Column aliases
- Arithmetic expressions
- Precedence of operators
- Exercises: Querying the sample database
- The LIMIT clause
- UNION
- UNION ALL
- Aggregate functions
- The GROUP BY clause
- Using Rollup with GROUP BY
- The HAVING clause
- Exercises: Using Limit, Union and Aggregate Functions
Course Contents - DAY 2
Session 5: SUBQUERIES AND JOINS- Subqueries
- Cartesian products
- Joins with original syntax
- Table aliases
- Natural joins
- Join using
- Join on
- Multi-table joins
- Exercises: Using Subqueries and Joins
- Function types
- Testing functions
- Numeric functions
- Character functions
- Exercise: Using Numeric and Character Functions
- Date and time column types
- Date and time formats
- The date format function
- Functions to return date time
- Functions to extract components from date time
- Date time arithmetic
- Miscellaneous functions
- Exercise: Using Date, Time and other functions
Course Contents - DAY 3
Session 8: DATABASES AND TABLES- Creating a database
- Selecting a database
- Obtaining database metadata
- Table properties
- Creating tables
- Auto_increment
- Show create table
- Column operations
- Constraint operations
- Copying tables
- Renaming tables
- Changing engine for tables
- Obtaining table metadata
- Altering tables
- Dropping tables
- Temporary tables
- Memory tables
- Exercises: Maintaining databases and tables
- What is an index?
- Structure of an index
- Creating an index
- Reviewing indexes
- Composite indexes
- Altering a table to add an index
- Dropping indexes
- What is a view?
- Creating views
- View restrictions
- Dropping views
- Exercise: Maintaining indexes and views
- Inserting rows
- Replacing rows
- Updating rows
- Deleting rows
- The truncate statement
- The COMMIT and ROLLBACK commands
- Savepoints
- Implicit commits
- Exercise: Managing data
- Creating users
- Renaming users
- Dropping users
- Granting privileges
- Revoking privileges
- Exercise: Creating users, granting and revoking
- Exporting using SQL
- Importing using SQL
- Exporting from the command line
- Importing from the command line
- Exercise: Export and import data
Customer Outreach Award
We believe that it should be easy for you to find and compare training courses.
Our Customer Outreach Award is presented to trusted providers who are excellent at responding to enquiries, making your search quicker, more efficient and easier, too.
Reviews
Average rating 4.8
Really well delivered course - even though it was online, (via TEAMS) - Online learning is not an ideal media for delivering training, but this, was well explained, by the tutor...
Really well instructed course. Covered everything that I was seeking and more, so a great opportunity for consolidating and furthering my knowledge.
Continuing Studies
Further Learning
- MySQL for Developers
- MySQL Database Administration
Request info
Why StayAhead. From a single person on a scheduled course to large scale training projects StayAhead Training have the expertise and experience to help. Established since 1992, StayAhead Training is recognised as one of the leading independent IT Training specialists...
A brilliant course tailored to our group - cannot commend Tarn highly enough. He listened to our background and work then spent more than time on areas relevant our work and le...