SQL FUNDAMENDALS

SQL FUNDAMENDALS

University

10 Qs

quiz-placeholder

Similar activities

SQL Queries

SQL Queries

University

10 Qs

Chapter 7: Database

Chapter 7: Database

University

10 Qs

sql fundamendals

sql fundamendals

University

10 Qs

ERD DATABASE

ERD DATABASE

University

15 Qs

DBMS_Quiz_1

DBMS_Quiz_1

University

15 Qs

DBMS 1

DBMS 1

University

10 Qs

MongoDB Primer

MongoDB Primer

University

10 Qs

9.1 Databases Cambridge IGCSE 0478

9.1 Databases Cambridge IGCSE 0478

10th Grade - University

10 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?