Skip to main content
SQL • LESSON 02

SELECT Columns

How can we retrieve specific columns instead of the entire table?

Beginner2 Minutes100 XP
🤔 THE QUESTION

How can we retrieve specific columns instead of the entire table?

💡 WHAT IS IT?

Listing explicit column names in the SELECT clause projects only those columns.

🎯 WHAT IS IT USED FOR?

Optimizing query execution, reducing I/O, and building clean report schemas.

💻 EXAMPLE
SELECT name,
salary
FROM employees;

🎯 Mission Objectives

Practice typing production-grade SQL code for SELECT Columns.

  • SELECT
  • Column projection
  • FROM
  • Commas