SQL
Free Section Starter Challenge
15 min
1. The SELECT Statement, Column Aliases & DISTINCT
Overview: Retrieve specific columns from a database table using `SELECT column FROM table`.
Concept & Syntax Guide
SQL queries follow standard declarative syntax: `SELECT name, price_inr FROM templates;`. Using `AS` renames columns for cleaner presentation.
Hands-On Practice Exercise
Select Template Names and Prices
Write a query to select `name` and `price_inr` from the `templates` table.
Target Output:
name | price_inr
Need a hint? Click here to reveal
Hint: Check syntax carefully and make sure your code contains:
name | price_inr
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10