SHSubjectHub

SQL — Querying Databases

Learn how to use SQL to search, filter, sort, and modify data in relational databases.

📚 Learning Steps

💡 Study Tips
  • • Read through at your own pace
  • • Try the interactive simulators hands-on
  • • Study the pseudocode — it appears in exams
  • • Quiz yourself before moving on

Step 1: What is SQL?

📖 Theory

SQL (Structured Query Language) is the language used to communicate with databases. It lets you:

•Retrieve data (search and display records)
•Insert new records
•Update existing records
•Delete records

A database is made up of tables. Each table has:

•Fields (columns) — e.g., Name, Age, Email
•Records (rows) — each row is one entry in the table

SQL commands are written as queries. They're not case-sensitive, but by convention keywords are written in UPPERCASE.

🎯 Key Points
  • •SQL = Structured Query Language
  • •Used to query (ask questions of) databases
  • •Tables have fields (columns) and records (rows)
  • •SQL keywords are typically written in UPPERCASE
0/6 steps completed