wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MYSQL QUIZ 1

Total questions: 25

Worksheet time: 16mins

Name
Class
Date
1.

MySQL is a widely used relational database management system (RDBMS)

a)

TRUE

b)

DOUBTFUL

c)

FALSE

2.

MySQL is free and open-source.

a)

DOUBTFUL

b)

TRUE

c)

FALSE

3.

When MYSQL first release?

a)

1998

b)

1997

c)

1996

d)

1995

4.

Insert the missing statement to get all the columns from the Customers table. (a)   * FROM Customers;

5.

Write a statement that will select the City column from the Customers table. ______ ____ ____ Customers;

(a)  

6.

Select all records where the CustomerID column has the value 32. SELECT * FROM Customers _____ CustomerID _ __ ;

(a)  

7.

Select all records from the Customers table, sort the result reversed alphabetically by the column City.

a)

SELECT * FROM Customers ORDER BY City ASC;

b)

SELECT * FROM Customers ORDER BY CIty DESC;

8.

Select all records from the Customers table, sort the result alphabetically, first by the column Country, then, by the column City.

a)

SELECT * FROM Customers ORDER BY Country, City;

b)

SELECT * FROM Customers ORDER BY City, Country;

9.

What is a NULL Value?

a)

A field with a NULL value is a field with 0 value.

b)

A field with a NULL value is a field wit value.

c)

A field with a NULL value is a field with no value.

d)

A field with a NULL value is a field with INULL DARATISTA

10.

The UPDATE statement is used to modify the existing records in a table is?

a)

SELECT Syntax

b)

INSERT INTO

c)

DELETE Syntax

d)

UPDATE Syntax

11.

Update the City column of all records in the Customers table. ______ Customers ___ City = 'Oslo';

(a)  

12.

The DELETE statement is used to delete existing records in a table is?

a)

DROP Syntax

b)

REMOVE Syntax

c)

DELETE Syntax

d)

UPDATE Syntax

13.

Delete all the records from the Customers table where the Country value is 'Norway'. ______ ____ Customers _____ Country = ''Norway";

(a)  

14.

What is he LIMIT clause is used for?

a)

The LIMIT clause is used to specify the number of records to return.

b)

The LIMIT clause is used to specify the number of records to Show.

c)

The LIMIT clause is used to specify the amount of records to return.

15.

What the function to return the smallest value of the selected column?

a)

MINUS()

b)

MINS()

c)

SMALL()

d)

MIN()

16.

The MAX() function returns the largest value of the selected column.

a)

FALSE

b)

TRUE

17.

The COUNT() function returns the number of rows that matches a specified criterion.

a)

TRUE

b)

FALSE

18.

The AVG() function returns the avengers value of a numeric column. 

a)

FALSE

b)

TRUE

19.

The SUM() function returns the total sum of a numeric column. 

a)

Maybe True

b)

True

c)

Maybe False

d)

False

20.

Returns all records from both tables is called by

a)

FULL JOIN

b)

JOIN

c)

CROSS JOIN

d)

INNER JOIN

21.

Returns all records from the left table, and the matched records from the right table is called by

a)

RIGHT JOIN

b)

CROSS JOIN

c)

LEFT JOIN

d)

SIDE JOIN

22.

Returns records that have matching values in both tables is called by

a)

INNER JOIN

b)

BOTH JOIN

c)

LEFT JOIN

d)

RIGHT JOIN

23.

RDBMS is stand for?

a)

Relationship Database Management System

b)

Relation Database Management System

c)

Relate Database Management System

d)

Relational Database Management System

24.

MySQL is developed, distributed, and supported by?

a)

MariaDB Corporation

b)

Oracle Corporation

c)

Microfsoft Sql Server

d)

Stikom El Rahma

25.

  • Select all records where the City column has the value 'Berlin' or 'London'. _____ * FROM Customers _____ City = 'Berlin' __ _____ = '______';



(a)