Loading, please wait...

My SQL MCQ Quiz (Multiple Choice Questions And Answers)

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

16. In PHP in order to access MySQL database you will use:

  • mysqlconnect() function
  • mysql-connect() function
  • mysql_connect() function
  • sql_connect() function

17. Which of the following is used to delete an entire MYSQL database?

  • mysql_drop_database
  • mysql_drop_entiredb
  • mysql_drop_db
  • mysql_drop_db

18. Primary Key does allow the Null Values. where as in Unique key doesn’t accept the Null values.

  • True
  • False

19. In a SELECT with a GROUP BY clause, a WHERE clause, and a HAVING clause, the WHERE conditions are applied before the HAVING conditions.

  • True
  • False

20. Which of the following ways below are the correct way to get the current date?

  • SELECT CURTIME();
  •  SELECT CURDATE();
  • SLELCT CURRRENT_TIME()
  • All of the above