sql fundamendals

sql fundamendals

University

10 Qs

quiz-placeholder

Similar activities

Mapeamento e Normalização BD

Mapeamento e Normalização BD

University - Professional Development

15 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 Qs

DISPORA SUMBAR

DISPORA SUMBAR

University

15 Qs

Clasificación de Bases de Datos

Clasificación de Bases de Datos

10th Grade - University

10 Qs

ICT-BEd_4th Semester

ICT-BEd_4th Semester

10th Grade - University

15 Qs

DBMS LAB QUIZ

DBMS LAB QUIZ

University

15 Qs

RLNVSP - Buổi 1 - Ôn tập

RLNVSP - Buổi 1 - Ôn tập

University

15 Qs

sql fundamendals

sql fundamendals

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Dhivya J

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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 INT, age INT, salary FLOAT);
CREATE TABLE employees (id INT, name VARCHAR(50), age CHAR, salary FLOAT);

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers