Mysql Multiple Choice Questions
- TCL is used for _______?
- Manage the changes made by DML statements
- Defining database schema
- Control access to data stored in a database
- None of the above
Answer :
A
Explanation:
Transaction Control Language (TCL) statements are used to manage the
changes made by DML statements. It allows statements to be grouped together
into logical transactions. eg. COMMIT, ROLLBACK, SAVEPOINT.
Added By : Amitosh
- DCL is used to _______?
- Manage the changes made by DML statements
- Inserting, Deleting and Updating data
- Control access to data stored in a database
- None of the above
Answer :
C
Explanation:
A Data Control Language (DCL) is used to control access to data stored in
a database. eg. GRANT, REVOKE
Added By : Amitosh
- DDL is used for _______?
- Manage the changes made by DML statements
- Defining database schema
- Control access to data stored in a database
- None of the above
Answer :
B
Explanation:
A Data Definition Language or Data Description Language (DDL) is used for
defining data structures, especially database schemas. eg. CREATE, DROP,
ALTER, TRUNCATE
Added By : Amitosh
- DML is used for _______?
- Control access to data stored in a database
- Defining database schema
- Inserting, Deleting and Updating data
- None of the above
Answer :
C
Explanation:
A Data Manipulation Language (DML) is used for inserting, deleting and
updating data in a database. eg. SELECT, INSERT, UPDATE, DELETE.
Added By : Amitosh
- Which is right statement to insert multiple records?
- INSERT INTO job_question VALUES ('col1', 'col2'), ('col1', 'col2'), ...
- INSERT INTO job_question VALUES ('col1', 'col2'), VALUES ('col1', 'col2'), ...
- A and B Both
- None of the above
Added By : Akash
- Query result can be displayed vertically by terminating the query____?
- With \V instead of a semicolon
- With \G instead of a semicolon
- With \M instead of a semicolon
- All the above
Added By : Deeksha
- Which command is used to import data form text file in MySQL on MySQL editor?
- mysql> source text_file_path;
- mysql> \. text_file_path
- None of the above
- A and B Both
Added By : Deeksha
- Which is right statement to import data from text file in MySQL on shell editor?
- shell> mysql -host host_name -u user_name -p password db_name < text_file
- shell> mysql -host host_name -u user_name -p password db_name > text_file
- shell> mysql < text_file
- All 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