Menu
Prev
Next
SQL Basics
1. SQL Basics
2. Intermediate SQL
Databases
Select an entire table
Practice 1
Practice 2
Select columns
Practice 1
Practice 2
Practice 3
Filter using WHERE
Practice 1
Practice 2
Practice 3
Practice 4
AND, OR, NOT
BETWEEN
Practice 1
LIKE
Practice 1
Practice 2
WHERE with parentheses
Practice 1
Practice 2
Practice 3
LIMIT
Practice 1
Sort using ORDER BY
Practice 1
Practice 2
Show the id of the products in the product table, repeated 3 times
Clear
Submit
Expected Output
id
id
id
1
1
1
2
2
2
3
3
3
4
4
4
5
5
5
6
6
6
7
7
7
8
8
8
9
9
9
10
10
10
11
11
11
12
12
12
13
13
13
14
14
14
15
15
15