DBMS-MySQL Question and Answer

DBMS-MySQL Question and Answer
11. To remove duplicate rows from the result set of a SELECT use the following keyword:
  • NO DUPLICATE
  • UNIQUE
  • DISTINCT
  • None of the above
Show Answer
12.  Which of the following can add a row to a table?
  • Add
  • Insert
  • Update
  • Alter
Show Answer
13. To use MySQL on your computer, you'll need?
  • FTP and Telnet
  • Some sort of client program to access the databases
  • A Browser
  • Perl, PHP or Java
Show Answer
14. Which SQL statement is used to insert a new data in a database?
  • INSERT INTO
  • UPDATE
  • ADD
  • INSERT NEW
Show Answer
15. In a LIKE clause, you can could ask for any value ending in "qpt" by writing
  • LIKE %qpt
  • LIKE *ton
  • LIKE ton$
  • LIKE ^.*ton$
Show Answer
16. A NULL value is treated as a blank or 0.
  • True
  • Fasle
  • None of the above
Show Answer
17. MySQL is
  • A Programming language
  • A Programming language
  • A technique for writing reliable programs
  • A Relational Database Management System
Show Answer
18. In a LIKE clause, you can ask for any 6 letter value by writing?
  • LIKE ??????
  • LIKE .{6} Answer 5: LIKE ^.{6}$
  • LIKE ...... (that's six dots)
  • LIKE ______ (that's six underscore characters)
Show Answer
19. The result of a SELECT statement can contain duplicate rows.
  • False
  • True
  • None of the above
Show Answer
20. Which function used to get the current time in mysql?
  • getTime()
  • Time()
  • NOW()
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test