Mysql Query Optimization
- Which line of the following statements will produce error?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: E
None of these
- Which command is used to remove existing tables or database?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
DROP TABLE
- Which command is used to display all the existing tables in a database?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
SHOW TABLES
- Is duplicate entry of primary key is allowed in SQL?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Primary key are used to uniquely define attributed stored in the table.
- Is duplicate entry of other attributes are allowed in SQL?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Duplicate values are allowed but not for Primary Key attributes.