Mysql-quiz 0 votes, 0 avg 416 123456789101112131415 SQL Questions 1 / 15 1. Which command is used for the table definition in Mysql? A. DESC table_name; B. DESC table_name C. DESC D. None of the mentioned 2 / 15 2. Which of these is also known as a virtual table? A. SCHEMA B. DATABASE C. JOIN D. VIEW 3 / 15 3. Full form of DCL is - A. Data Control Language B. Data Commit Language C. Data Common Language D. Data Concatenate Language 4 / 15 4. What is the keyword of the Ascending and Descending? A. ASCE, DESC B. ASC, DES C. ASCE, DES D. ASC, DESC 5 / 15 5. What is generally done after the transactions are executed successfully? A. delete B. rollback C. commit D. update 6 / 15 6. Which among the following is the correct syntax for defining “Constraint Check” in Mysql? A. gender char(1) check( gender IN (‘M’, ‘F’)), B. gender char (1) check, C. gender char (1) check ( gender ), D. none of the mentioned 7 / 15 7. Command that comes under DML is/are – A. ROLLBACK B. GRANT C. UPDATE D. All of the above 8 / 15 8. A view can be deleted using the command __________ A. REMOVE B. DELETE C. CLEAR D. DROP 9 / 15 9. By default, sorting by ORDER BY clause is done in which order? A. Ascending B. Descending 10 / 15 10. SQL DELETE can be used to delete, A. Rows B. Database C. View D. All of the above 11 / 15 11. In the following SQL query, what does “person” stands for? INSERT INTO person (person_id, fname, lname) VALUES (1,’S’,’P’); A. Composite attributes B. Multivalued attributes C. Table name D. None of the mentioned 12 / 15 12. The join where all possible row combinations are produced is called _________ A. INNER JOIN B. OUTER C. NATURAL D. CARTESIAN 13 / 15 13. Which keyword in the UPDATE statement is used to assign values to columns? A. ASSIGN B. SET C. MARK D. GET 14 / 15 14. What is xyz in the following MySQL statement?CREATE VIEW xyz AS SELECT a, b FROM t; A. table B. column C. view D. database 15 / 15 15. The comma operator can also be used to join tables. A. true B. false Your score isThe average score is 58% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin