SQL • LESSON 01

SQL Basics

Learn the fundamentals of writing a simple SQL query.

🟢 Beginner⏱ 1 Minute⭐ 100 XP
🤔 THE QUESTION

How can we retrieve data from a SQL table?

💡 WHAT IS IT?

SELECT is used to retrieve data from one or more columns in a table.

🎯 WHAT IS IT USED FOR?

It is the foundation of SQL queries and is used whenever you need to read or inspect data stored in a database.

💻 EXAMPLE
SELECT *
FROM employees;

Mission Brief

Practice writing a basic SQL query using SELECT and FROM.

Objectives

  • SELECT
  • FROM
  • Basic SQL formatting