Organizations use large SQL databases to store information about clients, products, or sales. However, that data is locked into those databases until it is accessed by a business intelligence tool such as Power BI, Tableau, or Crystal Reports. Analysts and Data Scientists can use SQL to select the data they need for additional analysis and reporting. This class, MySQL Querying: Fundamentals, provides an overview of the SQL statements that can be used to access that data. This course covers MySQL 8.0.
You will:
- Connect to the MySQL Server database and execute a simple query.
- Include a search condition in a simple query.
- Use various functions to perform calculations on data.
- Organize the data obtained from a query before it is displayed on-screen.
- Retrieve data from multiple tables.
Target Student
This course is intended for individuals with basic computer skills, familiar with concepts related to database structure and terminology, and who want to use SQL to query databases.
Prerequisites
Some familiarity with database terminology and structure is helpful.
Course Outline
How to retrieve data from a single table
- An introduction to the SELECT statement
- How to code the SELECT clause
- How to code the WHERE clause
- How to code the ORDER BY clause
- How to code the LIMIT clause
How to retrieve data from two or more tables
- How to work with inner joins
- How to work with outer joins
- Other skills for working with joins
- How to work with unions
- How to code summary queries
- How to work with aggregate functions
- How to group and summarize data
- How to code aggregate window functions
How to code subqueries
- An introduction to subqueries
- How to code subqueries in the WHERE clause
- How to use the ALL keyword
- How to code subqueries in other clauses
- How to work with complex queries
- How to work with common table expressions
How to work with data types
- The data types
- How to convert data
How to use functions
- How to work with string data
- How to work with numeric data
- How to work with date/time data
- Other functions you should know about