What is the SQL keyword used to retrieve data from a database?

MySQL SQL Queries

Quiz
•
Computers
•
12th Grade
•
Medium
Tej Chand
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
FETCH
RETRIEVE
SELECT
SEARCH
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you select all columns from a table named 'users'?
SELECT ALL FROM users;
SELECT columns FROM users;
SELECT users.*;
SELECT * FROM users;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the SQL query to filter records where the 'age' column is greater than 18?
SELECT * FROM table_name WHERE age > 18;
SELECT * FROM table_name WHERE age = 18;
SELECT * FROM table_name WHERE age < 18;
SELECT * FROM table_name WHERE age >= 18;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By default, ORDER BY clause lists the results in _______________ order
Descending
Any
Same
Ascending
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following query
select * from employee order by salary _________, name ________;
To display the salary from greater to smaller and name in alphabetical order which of the following options should be used?
Ascending, Descending
Asc, Desc
Desc, Asc
Descending, Ascending
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
select correct SQL query from below to find the temperature in increasing order of all cities.
select city from weather order by temperature;
select city, temperature from weather;
select city, temperature from weather order by temperature;
select city, temperature from weather order by city;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function is used to count the number of rows in a SQL query?
count( )
number( )
sum( )
count(*)
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
A-Level Comp Sci 9618 Databases

Quiz
•
9th - 12th Grade
10 questions
ICTDBS506 Creating a 'Car Pool' Database with MySQL

Quiz
•
12th Grade - University
10 questions
SQL Query Assignment

Quiz
•
12th Grade
15 questions
Learning SQL

Quiz
•
11th - 12th Grade
15 questions
BTEC unit 2 databases - key terms

Quiz
•
12th Grade
15 questions
Databases

Quiz
•
10th Grade - University
15 questions
7.7 Software Security Review

Quiz
•
8th Grade - University
15 questions
QUIZ 3 - MySQL (Database, table, select, update)

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University