Logo

Mysql Questions Set 42:

Quiz Mode

How many main clauses are there in SQL?

1
2
3
4

Solution:

Which program represents the MySQL server?

1
2
3
4

Solution:

 

The following statement is valid.

SELECT abc, xyz FROM table1 UNION abc, def FROM table2;

1
2

Solution:

If the following keyword is used with UNION, then duplicate rows are retained.

1
2
3
4

Solution:

To measure the length of a string in bytes, the operator used is _________ 

1
2
3
4

Solution:

 What is abc in the following statement? 

 

DELETE FROM xyz WHERE abc = 11;

1
2
3
4

Solution:


A [_____] column allocates a string with a variable amount of space depending on the data length that is actually stored.

Solution:

 Which character set variable indicates the character set used for storing identifiers?
 

1
2
3
4

Solution:

  

What column names are displayed when this command is executed?


 SHOW COLUMNS FROM tbl_name LIKE '%name';   

1
2
3
4

Solution:

  What is the meaning of the “WHERE” clause in Mysql?
 

1
2
3
4

Solution: