The SQL Sample Database
The free company sample database used in this SQL tutorial: employees, departments, customers, products and orders. See every table and copy the MySQL script.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
The free company sample database used in this SQL tutorial: employees, departments, customers, products and orders. See every table and copy the MySQL script.
MySQL data types with examples: INT, DECIMAL vs FLOAT, CHAR vs VARCHAR, TEXT, ENUM, DATE, DATETIME, TIMESTAMP, BOOLEAN and JSON, and how to choose.
Learn SQL syntax rules: statements, keywords, semicolons, case sensitivity, quotes, identifiers and comments, with MySQL examples you can run.
Install MySQL 8.4 LTS on Windows, macOS, Linux or Docker, connect with the mysql client or Workbench, and load the sample database used in this SQL tutorial.
Learn CREATE DATABASE, USE, CREATE TABLE, DESCRIBE, IF NOT EXISTS and CREATE TABLE AS SELECT in MySQL, step by step with real output.
20 Python sqlite3 programs with solutions: create tables, insert, select, update, delete, joins, group by, transactions and CSV export, each explained.
Write a Python program to load a query result into a pandas DataFrame. Step-by-step explanation, colour-coded code and real output.
Write a Python program that shows how an f-string query is unsafe and a parameter is safe. Step-by-step explanation, colour-coded code and real output.
Write a Python program to export a table to a CSV file. Step-by-step explanation, colour-coded code and real output.
Write a Python program to get the top 3 scores. Step-by-step explanation, colour-coded code and real output.
Write a Python program to find products whose name contains a word. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print the column names of a query result. Step-by-step explanation, colour-coded code and real output.
Take free timed mock tests with answers and explanations.