



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A series of multiple-choice questions and true/false statements related to mysql, a relational database management system. It covers topics such as sql syntax, database organization, aggregate functions, and database manipulation commands. The questions are designed to test understanding of key concepts in database management and sql programming, making it a useful resource for students learning about databases. It also includes a practical exercise on creating a table using sql statements. Suitable for high school students studying database management systems and sql.
Typology: Cheat Sheet
1 / 7
This page cannot be seen from the preview
Don't miss anything!




1. Fill in the blank ( Marks 5) 1. The _________ statement is used to retrieve the data from one or more tables in a database. 2. MySQL is a ___________________ database management system. 3. Full form of ‘SQL’ __________________. 4. CREATE VIEW person_1 AS SELECT fname, lname, person_id _______________________person. 5. MySQL is very friendly with ___________________, the most popular language for web development. 2. State Whether The Following Statement Are True Or False (Marks: 5) 1. Text functions cannot accept numbers as arguments. True False 2. The length() function ignore blank spaces from the text. True False 3. round() and truncate() functions returns the similar values. True False 4. The concat() function make additions for two numbers. True False 5. The place where the server stores its database and status files is the data directory True False
3. Multiple Choice Question (Tick the Correct One) (Marks: 30) 1. Which type of database management system is MySQL? Object-oriented Hierarchical Relational Network 2. What is data in a MySQL database organized into? Objects Tables Networks File systems 3. What is the default port for MySQL Server? 3305 3306 3308 3307 4. What represents a ‘tuple’ in a relational database? Table Row Column Object 5. When do we use a HAVING clause? To limit the output of a queryWhen GROUP by is used To limit the output of a query using an aggregate function onlyall of the above 6. What will be the output of the following query? SELECT account_id, product_id, cust_id FROM account WHERE product_id IN ( Only those values are selected whose product_id is either ‘sav’, ‘chd’, ‘mm’ ‘sav’, ‘chd’, ‘mm’); Only those values are selected whose product_id is eitherOnly those values are selected whose product_id is either ‘‘savsav’’’, ‘chd’ All of the mentioned 7. A command that lets you change one or more fields in a record is INSERT MODIFY LOOKUP ALL
aggregate function? COUNT UPPER LOWER All of the mentioned