Mysql Compound Statements
- The default case sensitivity of the database and table names depends on ___________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The default case sensitivity imposes a dependency on the operating system of the machine on which the MySQL server is running. Windows does not treat database and table names as case sensitive unlike Unix.
- Which statement is valid if ‘`sampledb`’ is a database and ‘`tbl`’ is a table in it?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
When quotes is being used to refer to a qualified name, the individual identifiers are quoted within the name separately. So, the database name `sampledb` and table name `tbl` are quoted separately.
- Which character is illegal in naming an unquoted identifier in SQL?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
An identifier is used to refer to a database or its elements. These elements can be entire tables or attributes. The names of these identifiers follow some set of rules, so they have a set of legal characters.
- To see the table structure which command is issued?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The ‘DESCRIBE’ command is issued to see the structure of the table ‘tbl_name’. It shows the structure in the format: Field-Type-Null-Key-Default-Extra. The ‘VIEW’ and ‘SELECT’ commands are used to see the contents of the table.