This document contains multiple choice, short answer, and explanation questions about SQL and MySQL. The multiple choice questions cover SQL data manipulation language commands like SELECT, INSERT, and DELETE as well as commands for creating databases and showing table lists. Short answer questions define SQL terms and ask about advantages of MySQL and classifications of SQL statements. Explanation questions differentiate the CHAR and VARCHAR data types, provide an example of creating a table with many fields and records using MySQL commands, and explain data definition language commands and their operations with SQL syntax examples.
This document contains multiple choice, short answer, and explanation questions about SQL and MySQL. The multiple choice questions cover SQL data manipulation language commands like SELECT, INSERT, and DELETE as well as commands for creating databases and showing table lists. Short answer questions define SQL terms and ask about advantages of MySQL and classifications of SQL statements. Explanation questions differentiate the CHAR and VARCHAR data types, provide an example of creating a table with many fields and records using MySQL commands, and explain data definition language commands and their operations with SQL syntax examples.
This document contains multiple choice, short answer, and explanation questions about SQL and MySQL. The multiple choice questions cover SQL data manipulation language commands like SELECT, INSERT, and DELETE as well as commands for creating databases and showing table lists. Short answer questions define SQL terms and ask about advantages of MySQL and classifications of SQL statements. Explanation questions differentiate the CHAR and VARCHAR data types, provide an example of creating a table with many fields and records using MySQL commands, and explain data definition language commands and their operations with SQL syntax examples.
1. The ______ allows you to perform tasks related to data manipulation. a) DDL b) DML c) DQL d) None of these 2. Which of the following is not a DML command a) CREATE b) INSERT c) DELETE d) DROP 3. Which command helps to see the contents of a table a) Show b) Select c) Describe d) None of these 4. ______ command helps to create a database. a) USE b) OPEN c) DISTINCT d) CREATE 5. Which command shows the list of tables in mysql a) Desc database; b) Show table: c) Show tables; d) Select database; II. Short answer questions (2x4=8) 1.What are the advantages of MySql? 2.Define the following terms: a) Keyword b) statement 3.What are the classifications of SQL statement? 4.Write the examples of SQL datatypes. IV. Explain the following (4x3=12) 1. Differentiate between CHAR & VARCHAR command 2. Create a table with 54 fields and 5 records(with help of MySQL commands) 3. Explain about DDL command and their operation. (Sql syntax compulsory)