Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
Quizzes
/
The table Scouts has the fields Scout and Badges, and these 4 records: (Ari, 7), (Bea, 3), (Cal, 9), (Dee, 5). A leader counts the scouts with more than 5 badges using SELECT COUNT(*) FROM Scouts WHERE Badges > 5;. What number appears?
Computer Science
Easy
High School (9–10)
Algorithms, Programming and Logic › Databases and SQL
IGCSE
Created by
StemPy Lab
The table Scouts has the fields Scout and Badges, and these 4 records: (Ari, 7), (Bea, 3), (Cal, 9), (Dee, 5). A leader counts the scouts with more than 5 badges using
SELECT COUNT(*) FROM Scouts WHERE Badges > 5;
. What number appears?
2
2
2
3
3
3
4
4
4
16
16
16
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A shop wants large red shirts only and writes WHERE Size = 'L' AND Colour = 'Red'. Which shirt is output?
The table Visitors has the fields Name and Age, and these 6 records: (Ina, 8), (Jon, 34), (Kim, 70), (Leo, 11), (Mo, 66), (Ned, 40). A museum lets children under 12 and adults over 65 in free. What does SELECT Name FROM Visitors WHERE Age < 12 OR Age > 65; output? →
More on
Algorithms, Programming and Logic › Databases and SQL
Discussion (0)
Log in
to join the discussion.
Loading…
All questions on this topic →
Problems on this topic
A restaurant stores its staff in a table Staff…
Hard
A town library stores its readers in a table Readers…
Medium
A gym stores its members in a table Gym…
Easy
A school garden club records each plot in a table Plots: the water it needs each day in litres, its…
Hard
All problems on this topic →