New course! Every coder should learn Generative AI!
Try a free lesson0
SQL - Retrieve all students between the ages of 18 and 22
How to retrieve all students between the ages of 18 and 22 when using SQL?
8 Answers
+ 5
SELECT name FROM students
WHERE age
BETWEEN 18 AND 22;
+ 2
SELECT name FROM
students
WHERE age
BETWEEN 18 AND 22;
+ 1
SELECT * FROM students WHERE age BETWEEN 18 AND 22;
+ 1
SELECT name FROMstudents
WHERE age
BETWEEN 18 AND 22;
0
SELECT name FROM students
WHERE age
BETWEEN 18 AND 22;
0
SELECT-WHERE-AVG
0
SELECT name FROM
students
WHERE age
BETWEEN
18 AND 22;
- 1
This question got me stuck. Has to start with a FROM (like SELECT name FROM students) then is where I'm lost.