
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore sql fundamentals, its applications across data analysis, engineering, and science, with mysql and sqlite. Master core queries, joins, window functions, cte, and data modeling.
Set up your workspace with MySQL or SQLite, navigate schemas and sales tables, and learn to write and run queries like selecting all from sales and running multiple queries.
Please access to online SQL through link below
Explore data modeling essentials for relational databases, including primary and foreign keys, transactional sales data, and dimensional models, with joins using product and store dimensions.
A theoretical explanation of SELECT command
Learn to select a specific column from the product table, use select * for all columns, and apply limit to display a subset of rows.
Learn to use distinct in SQL to select non-repeating values from a table, count distinct dates, and compare counts with and without duplication in sales data.
Learn to filter data with the where clause, filter by store id four, handle numeric vs string types with quotes, use between to filter January sales, and sort by date.
Learn to use the where clause with dates, including between two dates and comparisons such as greater than, less than, greater than or equal to, and the or clause.
Learn to classify quantity sold by store with case when, create an aliased classification column for big and small sales, and use two dashes for sql comments.
Learn how to sort sales data using the order by clause to arrange by quantity sold, from smallest to largest by default, and from largest to smallest with descending.
Learn to use the group by clause to aggregate data in sql, calculating sum and average by store id and rounding results to two decimals.
Master union all and core sql aggregates by grouping sales data by product id, summing quantities, and applying the having clause to filter totals.
learn how the having command filters grouped totals in SQL by grouping sales data by product ID and summing quantity sold, so only groups with total sales above 800 appear.
Explore how relational databases connect tables using primary and foreign keys, perform inner and left joins, and calculate sales amount from price and quantity.
Learn how window functions replace subqueries to compute running totals, rank rows within partitions, and apply lag for returns, all while reducing code and cost.
Learn to use the row_number window function to assign sequential order numbers within each sale date, ordering by quantity sold, and compare it with rank to understand ties.
Explore how the rank function assigns the same rank to equal quantities sold and preserves the ranking, unlike row_number.
Discover how to define and reuse common table expressions (CTEs) in SQL to build queries, compute sums and rankings with window functions, and join multiple results in a single run.
Explore BigQuery on Google Cloud Platform via sandbox, create a project and dataset, upload csv data, and build tables with auto-detected schemas. Practice selecting, joining, and aggregating data with sql.
Explore how Databricks serves as an end-to-end data lake platform to store, transform, and analyze data for sql workflows, dashboards, and models, and sign up on databricks.com.
Running a simple query in databricks to extract data
Upload CSV files into Databricks
Genie code is a dedicated AI agent which increases productivity by doing SQL developer job and quick analysis
SQL Training for beginners
This course provides a step-by-step guide to mastering MySQL, one of the most widely used database management systems. Designed for learners of all levels, the course covers the following key topics:
Part 1: Download
Download MySQL community edition to your machine.
Part 2: Import
Learn how to import data into MySQL and set up your database environment.
Part 3: Select
Explore the basics of querying data using the SELECT statement to retrieve specific information.
Part 4: Where
Apply conditions to filter data and retrieve precise results.
Part 5: Order By
Learn how to sort data in ascending or descending order for better organization.
Part 6: Group By
Group data by categories to analyze trends and patterns.
Part 7: Aggregate Functions
Perform calculations like summing, averaging, and counting using MySQL’s built-in aggregate functions.
Part 8: Alter Function
Understand how to modify database structures to adapt to changing needs.
Part 9: Having
Filter grouped data to refine your results further.
Part 10: Join
Combine data from multiple tables to gain comprehensive insights.
Learn to download and install MySQL community edition on Windows, selecting the right version, using the installer without web, installing server and MySQL workbench, and configuring a connection.
In this lecture you will learn
00:07 How to Create Schema in MySQL
01:12 How to Download CSV from Kaggle
01:38 How to Import CSV in MySQL
04:03 How to Verify the table with SELECT * statement
Here you will see how to use
00:40 SELECT ALL command
01:50 SELECT ALL with LIMIT
02:22 SELECT certain columns
WHERE is a filter command in SQL. Here you will learn how to use WHERE command to filter the pay which is higher than 80k in employee table
Here you will learn how to use ORDER BY command in SQL
In this video, you will learn how to effectively use the GROUP BY command in SQL to organize and aggregate data. This tutorial will cover its purpose, how it groups rows with similar values into summary rows, and its practical applications when used alongside aggregate functions such as COUNT, SUM, AVG, MAX, and MIN. By the end of the video, you'll understand how to leverage GROUP BY to analyze data more efficiently and draw meaningful insights.
In SQL, AVG, SUM, COUNT, MIN, and MAX are aggregate functions used to perform calculations on a set of values and return a single result. Here's a breakdown of each:
AVG (Average)
Calculates the average of a numeric column.
Useful for finding mean values, such as the average salary or grade in a dataset.
SUM
Computes the total sum of a numeric column.
Often used for calculating totals, such as sales or expenses.
COUNT
Counts the number of rows that match a specific condition.
Ideal for determining the size of a dataset or the number of occurrences of specific values.
MIN (Minimum)
Retrieves the smallest value in a column.
Helps identify the lowest numeric, date, or string value in a dataset.
MAX (Maximum)
Retrieves the largest value in a column.
Useful for finding the highest number, latest date, or maximum string value.
These functions are essential tools for summarizing and analyzing data, especially when combined with clauses like GROUP BY and HAVING to create insightful reports.
The HAVING command in SQL is used to filter data after it has been grouped using the GROUP BY clause. While the WHERE clause is used to filter rows before any grouping occurs, HAVING applies conditions to the aggregated results, making it ideal for working with summary data.
The ALTER TABLE statement in SQL is used to modify an existing table's structure. Below are the common operations you can perform with ALTER TABLE:
In SQL, JOINS are used to retrieve data from multiple tables based on a related column between them. Joins are essential for working with relational databases, allowing you to combine rows from two or more tables to create meaningful relationships between the data.
SQL Training for Beginners: Essential Skills for Data Analysts, Data Scientists, Data Engineers, and Financial Analysts
SQL in SQLite [New Lectures]
Introduction to SQL in Databricks, including usage of Genie Code.
Introduction to Databricks [New Lectures]
Get hands-on with the Databricks platform itself — from your very first login and workspace tour, to uploading tables, writing your first query, and using Genie Code to speed up your workflow.
SQL in MySQL [Old Lectures]
Are you ready to dive into the world of SQL and unlock the power of data? This beginner-friendly course is designed specifically for aspiring Data Analysts, Data Scientists, Data Engineers, and Financial Analysts who want to master the foundations of SQL.
Course Highlights:
Learn the Basics of SQL: No prior experience is required, but it is nice to have familiarity with basics! Start from the fundamentals and build your confidence in writing SQL queries.
Master SQL queries: Through practical examples and hands-on exercises, you'll learn how to effectively use the six most important SQL commands:
SELECT: Retrieve specific data from a database.
WHERE: Filter rows to meet certain conditions.
GROUP BY: Organize and summarize data.
ORDER BY: Sort data for better analysis.
CASE WHEN: Similar to IF ELSE.
SUBQUERIES: Queries used within queries.
WINDOW FUNCTIONS: Functions partitioning calculation for specific range.
JOIN: Combine data from multiple tables.
What You'll Gain:
A solid understanding of SQL syntax and query structure.
Hands-on familiarity with the Databricks platform, from setup to your first queries.
The ability to manipulate and analyze data stored in relational databases.
Practical skills to apply in analytics, engineering, and business scenarios.
Confidence to take on more advanced SQL topics in your data journey.
Whether you're looking to kickstart your career in data or enhance your existing skill set, this course will provide the essential foundation you need to work with databases and make data-driven decisions.
Start your SQL journey today and learn how to turn raw data into valuable insights!