The MySQL foundation 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.
Anyone who needs to access and work with a MySQL Database.
An understanding of databases and exposure to information technology in general would be useful.
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, Information_Schema and MySQL Databases.
Hands on using a 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.
Hands on Using the MySQL client.
The SQL SELECT statement, case sensitivity, quotes, statement terminator, syntax conventions, SELECT clause, FROM clause, conditions and the WHERE clause, logical operators, ORDER BY clause, column aliases, arithmetic expressions, precedence of operators.
Hands on querying the sample database.
The LIMIT clause, UNION, UNION ALL, aggregate functions, GROUP BY clause, using Rollup with GROUP BY, HAVING clause.
Hands on using limit, union and aggregate functions.
Subqueries, cartesian products, table aliases, natural joins, join using, join on, multi-table joins.
Hands on using subqueries and joins.
Function types, testing functions, numeric functions character functions.
Hands on using numeric and character functions.
Date and time column types, date and time formats, Date format function, functions to return date time, functions to extract components from date time, date time arithmetic, miscellaneous functions.
Hands on using date, time and other functions.
Creating a database, selecting a database, creating tables, Auto_increment, show create table, column operations, constraint operations, copying tables, renaming tables, changing engine for tables, dropping tables, temporary tables.
Hands on maintaining databases and tables.
What is an index? creating an index, reviewing indexes, dropping indexes, what is a view? creating views, view restrictions, dropping views.
Hands on maintaining indexes and views.
Inserting rows, replacing rows, updating rows, deleting rows, Truncate statement, The COMMIT and ROLLBACK commands, savepoints, implicit commits.
Hands on managing data.
Creating users, renaming users, dropping users, granting privileges, revoking privileges.
Hands on creating users, granting and revoking.
Exporting using SQL, importing using SQL, exporting from the command line, importing from the command line.
Hands on export and import data.
"I had no knowledge at the start of the course and the instructions were excellent."
This structured course uses Instructor Led Training to provide the best possible learning experience. Small class sizes ensure students benefit from our engaging and interactive style of teaching with delegates encouraged to ask questions throughout the course. Quizzes follow each major section allowing checking of learning. Hands on sessions are used throughout to allow delegates to consolidate their new skills.