codegurukool.com · Free coding tutorials & online compiler

Home › SQL Tutorial › SQL introduction

SQL introduction

The language for talking to databases.

SQL (Structured Query Language) stores, reads, changes and deletes data in relational databases such as MySQL, PostgreSQL, SQL Server and SQLite. Data lives in tables made of rows and columns. All lessons use two sample tables: Customers (id, name, city, country) with Ada, Bob, Chen, Dev and Eva, and Orders (id, customer_id, amount) with four orders.

Example code

SELECT * FROM Customers;

Run this code in the online editor

← All commandsSQL installation →