Mysql Multiple Choice Questions
- The DISTINCT keyword used along with the SELECT keyword retrieves ______ ?
- Duplicate data depending on the column list
- Unique data depending on the column list
- Sorted data depending on the column list
- None of the above
Added By : Rajat
- Which clause is used to sort the result of SELECT statement?
- SORT BY
- ORDER BY
- ARRENGE BY
- None of the above
Answer :
B
Explanation:
SELECT id, question FROM interview_question ORDER BY question;
Added By : Rajat
- Which statement is wrong to select particular columns from table?
- SELECT id, question FROM placement_question;
- SELECT id, question FROM placement_question WHERE id = '2';
- SELECT id, question FROM placement_question WHERE 1;
- All are right
Added By : Rajat
- Which statement is used to count number of rows in table?
- SELECT COUNT(*) FROM placement_question;
- SELECT COUNT ALL(*) FROM placement_question;
- SELECT ROWS(*) FROM placement_question;
- All the above
Added By : Rajat
- Which statement is used to load data form file to table?
- LOAD LOCAL INFILE '/path/student.txt' INTO TABLE student;
- LOAD DATA LOCAL INFILE '/path/student.txt' INTO TABLE student;
- LOAD DATA LOCAL '/path/student.txt' INTO TABLE student;
- All the above
Added By : Rajat
- What is maximum length of Database, Table, Column, trigger and view's name in MySQL?
- 128
- 256
- 64
- Unlimited
Added By : Rajat
- Which statement is used to displays information about the columns in a table.
- SHOW COLUMNS FROM tbl_job;
- EXPLAIN tbl_job;
- DESCRIBE tbl_job;
- All the above
Added By : Rajat
- Which is the right statement to fetch all tables start with "a"?
- SHOW TABLES LIKE 'a%';
- SHOW TABLES LIKE 'a';
- SHOW ALL TABLES LIKE 'a%';
- All the above
Added By : Rajat
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