πŸ§ͺ Mysql MCQ Quiz Hub

MY SQL Basic Sample Test

Choose a topic to test your knowledge and improve your Mysql skills

ο»ΏWhich of the following SQL query can be used to insert new recorder to a database table?





βœ… Correct Answer: 4

Choose not a type of SQL constraint?





βœ… Correct Answer: 3

Choose following behavior as an SQL virtual table?





βœ… Correct Answer: 1

When using the SQL INSERT statement..





βœ… Correct Answer: 3

The SQL ALTER statement can be used





βœ… Correct Answer: 2

Which SQL query can be used to delete columns from a table?





βœ… Correct Answer: 4

What SQL query can be used to add columns to a table?





βœ… Correct Answer: 1

The query to remove rows from a table named user ?





βœ… Correct Answer: 4

The SQL WHERE clause to limits the





βœ… Correct Answer: 1

Which of the following is the original purpose of SQL?





βœ… Correct Answer: 4

The wildcard in a WHERE clause is useful when?





βœ… Correct Answer: 3

The command to delete a table from a database





βœ… Correct Answer: 1

The SQL keyword(s) ________ is used with wildcards





βœ… Correct Answer: 2

sub-query in an SQL SELECT statement is enclosed in





βœ… Correct Answer: 2

The result of a SQL SELECT statement is a _______





βœ… Correct Answer: 3

According to the SQL-92 standard the asterisk (*) means in Select statements





βœ… Correct Answer: 1

The HAVING clause does which of the following?





βœ… Correct Answer: 3

Which of the following do you need to consider when you make a table in SQL?





βœ… Correct Answer: 4

When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s)





βœ… Correct Answer: 4

SQL can be used to





βœ… Correct Answer: 4

The SQL keyword BETWEEN is used





βœ… Correct Answer: 2

Which of the following statement is correct for using comparison operators in SQL?





βœ… Correct Answer: 1

How to select all data from student table starting the name from letter a?





βœ… Correct Answer: 2

What is the full form of SQL?





βœ… Correct Answer: 1

Which of the following group functions ignore NULL values?





βœ… Correct Answer: 4

Keyword is used to sort ?





βœ… Correct Answer: 2

Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?





βœ… Correct Answer: 1

What operator tests column for the absence of data?





βœ… Correct Answer: 1

Command makes the updates performed by the transaction permanent in the database?





βœ… Correct Answer: 1

undo all the updates performed by the SQL in the transaction?





βœ… Correct Answer: 1

Find all the user whose id is 10





βœ… Correct Answer: 1

Find the temperature in increasing order of all cities





βœ… Correct Answer: 3

What is the meaning of LIKE %0%0%





βœ… Correct Answer: 4

Which SQL statement is used to update data in a database?





βœ… Correct Answer: 3

Which SQL statement is used to delete data FROM a database?





βœ… Correct Answer: 3

Which of the following must be enclosed in double quotes?





βœ… Correct Answer: 1

Which of the following SQL commands is used to retrieve data?





βœ… Correct Answer: 2

Which of the following is a SQL aggregate function?





βœ… Correct Answer: 1

Which SQL keyword is used to retrieve only unique values?





βœ… Correct Answer: 4

Which SQL keyword is used to retrieve a maximum value?





βœ… Correct Answer: 2

The FROM SQL clause is used to.





βœ… Correct Answer: 1

Which of the SQL statements is correct?





βœ… Correct Answer: 2

A command that lets you change one or more fields in a record is





βœ… Correct Answer: 2

which command is used to SELECT only one copy of each set of duplicate rows





βœ… Correct Answer: 1

which of the following is not a data definition language commands?





βœ… Correct Answer: 4