SQL FUNDAMENDALS

SQL FUNDAMENDALS

University

10 Qs

quiz-placeholder

Similar activities

Lecture 02

Lecture 02

University

10 Qs

SQL MCQ

SQL MCQ

University

9 Qs

Bahasa Query 4

Bahasa Query 4

University

10 Qs

J277 - 2.2 - The use of SQL to search for data

J277 - 2.2 - The use of SQL to search for data

10th Grade - University

10 Qs

08.08.2025

08.08.2025

University

15 Qs

DDSQL-DP9-P10

DDSQL-DP9-P10

University

15 Qs

Review Javascript DOM

Review Javascript DOM

University - Professional Development

10 Qs

FIT 9132 Week 9

FIT 9132 Week 9

University

8 Qs

SQL FUNDAMENDALS

SQL FUNDAMENDALS

Assessment

Quiz

Computers

University

Hard

Created by

Dhivya J

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Remember: What does SQL stand for?
Structured Query Language
Style Query Language
System Query Language
Simplified Query Language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Remember: Which statement is used to create a table in SQL?
CREATE
ALTER
DELETE
SELECT

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Remember: Which statement is used to delete a table in SQL?
DROP
DELETE
REMOVE
TRUNCATE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Understand: What is the difference between the DROP and TRUNCATE statements?
DROP deletes the table and its structure, while TRUNCATE only deletes the table data.
DROP deletes the table data, while TRUNCATE deletes the table and its structure.
DROP and TRUNCATE are the same.
DROP and TRUNCATE are used to delete columns from a table.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Understand: What is the difference between the WHERE and HAVING clauses in SQL?
WHERE is used to filter rows based on a condition, while HAVING is used to filter groups based on a condition.
WHERE is used to filter groups based on a condition, while HAVING is used to filter rows based on a condition.
WHERE and HAVING are the same.
WHERE and HAVING are used to join tables.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Understand: What is a subquery in SQL?
A query within another query
A query with multiple SELECT statements
A query that only returns a single result
A query that only returns aggregate data

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apply: Write an SQL statement to create a table named "employees" with columns "id", "name", "age", and "salary".
CREATE TABLE employees (id INT, name VARCHAR(50), age INT, salary FLOAT);
CREATE TABLE employees (id char, name VARCHAR(50), age INT, salary FLOAT);
CREATE TABLE employees (id INT, name VARCHAR(50), age char, salary FLOAT);
CREATE TABLE employees (id INT, name VARCHAR(50), age INT, salary char);

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?