Vidyalelo
SQL · all questions

SQL
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

79

Questions

4/4

Page

Pick an option on a question to see the right answer and solution.

A subquery in an SQL SELECT statement is enclosed in:

Select an option to see the answer and solution.

The result of a SQL SELECT statement is a ________ .

Select an option to see the answer and solution.

In an SQL SELECT statement querying a single table, according to the SQL-92 standard the asterisk (*) means that:

Select an option to see the answer and solution.

The HAVING clause does which of the following?

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.

SQL can be used to:

Select an option to see the answer and solution.

The SQL keyword BETWEEN is used:

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.

Which of the following SQL query is correct for selecting the name of staffs from 'staffinfo' table where salary is 10,000 or 25,000?

Select an option to see the answer and solution.

Select the right statement to insert values to the student table.

Select an option to see the answer and solution.

............. joins two or more tables based on a specified column value not equaling a specified column value in another table.

Select an option to see the answer and solution.

In SQL, which command is used to change a table's storage characteristics?

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.

'AS' clause is used in SQL for

Select an option to see the answer and solution.

Count function in SQL returns the number of

Select an option to see the answer and solution.

Which of the following is a valid SQL type?

Select an option to see the answer and solution.

NULL is

Select an option to see the answer and solution.