SQL in Databases

Quiz
•
Computers
•
10th Grade
•
Easy
Adrian Mallia
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL clause is used to choose which columns to show in the result?
SELECT
FROM
WHERE
ORDER BY
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the FROM clause specify in an SQL query?
The columns to display
The table to get data from
The order of the results
The condition to filter rows
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL statement will show all columns from a table named `Students`?
SELECT * FROM Students;
SHOW ALL FROM Students;
GET * FROM Students;
SELECT ALL Students;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you select only the "Name" and "Age" columns from a table called `Kids`?
SELECT Name, Age FROM Kids;
SELECT Kids FROM Name, Age;
FROM Kids SELECT Name, Age;
SELECT Name AND Age FROM Kids;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the query SELECT * FROM EMPLOYEES WHERE LOCATION = "PAOLA" or "COSPICUA"; output?
All fields of those employees who reside in Paola only
All fields of those employees who reside in Paola or Cospicua only
Only the names of those employees who reside in Paola or Cospicua
All fields of those employees who do not reside in Paola or Cospicua
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this SQL query do? `SELECT * FROM Books WHERE Author = 'J.K. Rowling';`
Shows all books by J.K. Rowling
Shows only the Author column
Shows all authors except J.K. Rowling
Shows all books in the library
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL query will show all students who are 10 years old from the `Students` table?
SELECT * FROM Students WHERE Age = 10;
SELECT Age = 10 FROM Students;
SELECT * FROM Students ORDER BY Age = 10;
SELECT 10 FROM Students;
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Тест по теме "Базы данных"

Quiz
•
10th Grade
10 questions
J277 - 2.2 - The use of SQL to search for data

Quiz
•
10th Grade - University
20 questions
MySQL 4TO

Quiz
•
10th Grade
10 questions
4.1 Pangkalan data dan SQL

Quiz
•
10th Grade
18 questions
Relational Database Design

Quiz
•
10th - 12th Grade
14 questions
Mastering Basic SQL Commands

Quiz
•
10th Grade
20 questions
Pemrograman Web (Edisi 1)

Quiz
•
9th - 12th Grade
12 questions
Databáze - úvod

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade