Mysql Multiple Choice Questions
- Which statement is used to change database?
- USE db_name;
- WANT db_name;
- CHANGE db_name;
- None of the above
Added By : Sumit
- Which statement is used to find out what databases currently exist on the server?
- SHOW DATABASE
- SHOW DATABASES
- SHOW ALL DATABASES
- All the above
Added By : Sumit
- Which command returns current version on MySQL?
- SELECT MySQLVERSION();
- SELECT VERSION("MySQL");
- SELECT VERSION();
- All the above
Added By : Sumit
- Which statement is used to connect with mysql server?
- mysql -h host_name -u user_name -p password
- mysql -u user_name -p password -h host_name
- mysql -p password -u user_name -h host_name
- All the above
Added By : Sumit
- What is IGNORE keyword in MySQL?
- Ignores Primary key or Unique key violations and continues processing with the next row
- Ignores Primary key or Unique key violations and leaves any remaining rows unprocessed.
- Do not ignores Primary key or Unique key violations
- None of the above
Added By : Sumit
- Which is not a valid comment style in MySQL?
- # comment
- /* comment */
- -- comment
- //
Added By : Sumit
- What will be the output of this query UPDATE tab_name SET col1 = col1 + 1, col2 = col1;
- col1 and col2 have different value
- col1 and col2 have same value
- col2 has original value of col1
- None of the above
Added By : Sumit
- Which is right statement to kill process/thread in MySQL?
- KILL ALL thread_id/process_id
- KILL thread_id/process_id
- REMOVE thread_id/process_id
- None of the above
Added By : Deeksha
Also Exercise
Post Your Question
Social Sharing
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015