CodingNest Database Quiz 1

CodingNest Database Quiz 1

Professional Development

25 Qs

quiz-placeholder

Similar activities

SWC-KRG 2026 PO-QUIZ 2

SWC-KRG 2026 PO-QUIZ 2

Professional Development

20 Qs

PAI

PAI

Professional Development

20 Qs

MySQL

MySQL

Professional Development

20 Qs

Test SQL

Test SQL

Professional Development

20 Qs

SQL

SQL

12th Grade - Professional Development

23 Qs

TSQL - Basico

TSQL - Basico

Professional Development

20 Qs

DataBase Quiz - CME Workshop

DataBase Quiz - CME Workshop

Professional Development

20 Qs

ICTPRG431Session 2 Introduction Database Management Systems Quiz

ICTPRG431Session 2 Introduction Database Management Systems Quiz

Professional Development

22 Qs

CodingNest Database Quiz 1

CodingNest Database Quiz 1

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Coding Nest

Used 4+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does SQL stand for?
Structured Query Language
Simple Query Language
System Query Language
Sequential Query Language

Answer explanation

SQL stands for Structured Query Language, used for managing databases.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to display all the databases in MySQL?
SHOW TABLES;
SHOW DATABASES;
LIST DATABASES;
DISPLAY DATABASES;

Answer explanation

SHOW DATABASES; is the correct command to list all databases.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to switch to a specific database?
CHANGE DATABASE dbname;
SELECT DATABASE dbname;
USE dbname;
SET DATABASE dbname;

Answer explanation

USE dbname; is the correct command to switch databases.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default port for MySQL?
3306
5432
1521
1433

Answer explanation

MySQL runs on port 3306 by default.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to insert new data into a table?
ADD INTO
INSERT INTO
APPEND TO
CREATE ROW

Answer explanation

INSERT INTO is the correct SQL statement for inserting data.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you retrieve all the records from a table named students?
SELECT * FROM students;
SHOW ALL FROM students;
GET ALL FROM students;
LIST * FROM students;

Answer explanation

SELECT * FROM students; fetches all records from a table.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to modify existing data in a table?
CHANGE
MODIFY
UPDATE
ALTER

Answer explanation

UPDATE is used to modify existing data.

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?