Database Design and Development Certification Free Certificate | Multiple Choice Questions and Answers
Hi everyone, here is an opportunity fr y’all. The Digital Adda has launched Database Design and Development Quiz & after completing the quiz you get Free Certificate. Get complete details below and apply:
Terms and Conditions:
- There are 20 MCQ Questions in this test.
- You need to score atleast 50% to get a certificate.
- A certificate of achievement will be awarded.
Benefits: Get Database Design and Development Free Certificate from The Digital Adda which you can share in the Certifications section of your LinkedIn profile, on printed resumes, CVs, or other documents.
Question 1: Can DISTINCT command be used for more than one column?
- No
- Yes
Question 2: Can I call a trigger directly called from an application?
- Yes
- No
Question 3: A view is nothing but a __ table or a stored query
- Dymanic
- Real
- Virtual
- Static
Question 4: User() function returns the current users user name and
- Password
- Host Name
- Both (a) and (b) above
- Database name associated with the user
Question 5: Which of the following ways below are the correct way to get the current date?
- SELECT CURTIME();
- SELECT CURDATE();
- SELECT CURRENT_TIME();
- All of above
Question 6: Which is the default order of sort in ORDER BY clause?
- Ascending
- Descending
Question 7: Enum values are stored according to their index numbers
- True
- False
Question 8: On executing DELETE command, if you get an error “foreign key constraint”- what does it imply?
- Foreign key not defined
- Table is empty
- Connectivity issue
- Data is present in the other table
Question 9: USE keyword is used to select a _
- Table
- Column
- Database
- All of above
Question 10: What is a candidate key?
- Used to uniquely identify a row
- Alias for primary key
- Used to identify a column
- Alias for foreign key
Question 11: How much storage space does DATETIME require?
- 4 bytes
- 2 bytes
- 8 bytes
- 1 bytes
Question 12: How can we get the number of records or rows in a table?
- Using COUNT
- Using NUM
- Using NUMBER
- Both (a) and (c) above
Question 13: Which of the following file extension is a valid MyISAM file extension?
- .ism
- .myd
- .my
- .mys
Question 14: When do we use a HAVING clause?
- To limit the output of a query
- To limit the output of a query using an aggregate function only
- When GROUP by is used
- both (b) and (c) above
Question 15: Write a select query to retrieve the records from the table Students?
- SELECT FROM students
- SELECT FROM
students
; - SELECT FROM “students”;
- Both (a) and (b)
Question 16: How much character are allowed to create database name?
- 64
- 55
- 72
- 40
Question 17: Which of the following is used to delete an entire MYSQL database?
- mysql_drop_database
- mysql_drop_entiredb
- mysql_drop_db
- mysql_drop_dbase
Question 18: What SQL clause is used to restrict the rows returned by a query?
- AND
- WHERE
- HAVING
- FROM
Question 19: A __ is a stored program that is attached to a table or a view.
- Pseudofile
- Embedded SELECT Statement
- Trigger
- None of the above is correct
Question 20: What is an advantage of placing computations in SQL views?
- To save users from having to write an expression.
- To ensure that the results are consistent.
- To accomplish both of the above.
- None of the above