Create Database and Create Table in SQL
Learn CREATE DATABASE, USE, CREATE TABLE, DESCRIBE, IF NOT EXISTS and CREATE TABLE AS SELECT in MySQL, step by step with real output.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Learn CREATE DATABASE, USE, CREATE TABLE, DESCRIBE, IF NOT EXISTS and CREATE TABLE AS SELECT in MySQL, step by step with real output.
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 SQL syntax rules: statements, keywords, semicolons, case sensitivity, quotes, identifiers and comments, with MySQL examples you can run.
Prepare for SQL and MySQL interviews with scenario-based questions, query examples, joins, window functions, database testing, performance tuning, and interactive practice. Note: I've generated the ready-to-use HTML file,…
Remove privileges in MySQL with REVOKE: revoke specific privileges, all privileges, roles and the grant option, and check the result with SHOW GRANTS.
Give MySQL privileges with GRANT: privilege levels (global, database, table, column), SELECT/INSERT/UPDATE grants, SHOW GRANTS, WITH GRANT OPTION, and views.
Remove tables and databases with SQL DROP: DROP TABLE, IF EXISTS, dropping tables with foreign keys, DROP DATABASE, and DROP vs TRUNCATE vs DELETE in MySQL.
Change a table's structure with SQL ALTER TABLE: add, modify, rename and drop columns, rename tables, add keys and indexes, and change big tables safely.
Remove rows with SQL DELETE: by condition, with a subquery or JOIN, foreign key errors, and DELETE vs TRUNCATE vs DROP explained with real MySQL output.
Change data with the SQL UPDATE statement: one column, several columns, calculated values, CASE, UPDATE with JOIN and safe-update habits, with MySQL output.
Learn the SQL SELECT statement step by step: columns, SELECT *, calculated columns and query execution order, with sample tables and real MySQL output.
Add data with SQL INSERT INTO: one row, many rows, selected columns, default values, INSERT INTO SELECT and the errors you will meet, with MySQL 8.4 output.
Take free timed mock tests with answers and explanations.