1.
The mysql command is used to start the MySQL database and open the prompt to accept queries.
2.
Is the following statement true or false? If the MySQL server is started with --sql- mode=IGNORE_SPACE, all function names are treated as reserved words
3.
Which of the following queries will return a value of NULL?
4.
The table user has the following structure and contents. mysql> DESCRIBE user; SELECT * FROM user; 'NULL' in the output is the NULL value, not the character string 'NULL'. How many rows will the following query return? SELECT name, telephone FROM user WHERE telephone=''
5.
The friends table has the following data: What will be the result of the following statement: SELECT name FROM friends WHERE name LIKE "P_t%"
6.
The table t has a column c with following contents: mysql> SELECT c FROM t; - 100% Pass Guarantee 16 If c is a CHAR column that has the case-insensitive latin1_swedish_ci collation what will be the output of the following SQL statement? SELECT c, COUNT(*) from t GROUP BY c
7.
Which of the following statements are true?
8.
Which sql-mode option is required for 'abc' || 'def' to be returned as the concatenated string 'abcdef'?
9.
str is a multi-byte character string which contains five two-byte characters. What will be the result of the following SQL statement? SELECT LENGTH(str), CHAR_LENGTH(str)
10.
What does the following statement do? CREATE /*!32302 TEMPORARY */ TABLE t (a INT);