Ch 28: Basic SQL SELECT Queries

16 Questions16 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS403 - Database Management Systems Examination Practice

Timed practice exam simulation for CS403 - Database Management Systems.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 11 โ€“ 16 of 16 Questions
Page 2 of 2
Q11
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 28๐Ÿท๏ธ 28.3. Selecting All Columns (SELECT *)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following SQL SELECT queries correctly retrieves all columns and records from an employee table named 'EMP'?
๐Ÿ’ป sql Snippet
SELECT * FROM EMP;
  1. A.SELECT * FROM EMP;
  2. B.SELECT emp* FROM EMP;
  3. C.SELECT emp_id WHERE EMP;
  4. D.SELECT * WHERE EMP;
Q12
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 28๐Ÿท๏ธ 28.3. Selecting All Columns (SELECT *)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following SQL SELECT statements correctly retrieves all fields (columns) and rows from an employee table named 'EMP'?
๐Ÿ’ป sql Snippet
SELECT * from EMP;
  1. A.SELECT * from EMP;
  2. B.SELECT emp* from EMP'
  3. C.SELECT emp_id where EMP;
  4. D.SELECT * where EMP;
Q13
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 28๐Ÿท๏ธ 28.3. Selecting All Columns (SELECT *)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following SQL statements correctly retrieves all fields (columns) from an employee table named 'EMP'?
๐Ÿ’ป sql Snippet
SELECT * from EMP;
  1. A.SELECT * from EMP;
  2. B.SELECT emp* from EMP'
  3. C.SELECT emp_id where EMP;
  4. D.SELECT * where EMP;
Q14
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 28๐Ÿท๏ธ 28.3. Selecting All Columns (SELECT *)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following SQL statements correctly retrieves all columns and rows from an employee table named 'EMP'?
๐Ÿ’ป sql Snippet
SELECT * FROM EMP;
  1. A.SELECT * from EMP;
  2. B.SELECT emp* from EMP;
  3. C.SELECT emp_id where EMP;
  4. D.SELECT * where EMP;
Q15
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 28๐Ÿท๏ธ 28.3. Selecting All Columns (SELECT *)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following SQL statements represents the correct and standard query to retrieve all columns and rows from an employee table named 'EMP'?
๐Ÿ’ป sql Snippet
SELECT * from EMP;
  1. A.SELECT * from EMP;
  2. B.SELECT emp* from EMP;
  3. C.SELECT emp_id where EMP;
  4. D.SELECT * where EMP;
Q16
๐Ÿ“ Short Q๐Ÿ“˜ CS403๐Ÿ“‘ Lec 28๐Ÿท๏ธ 28.1. INSERT INTO CommandEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Write the standard, basic SQL syntax of adding a new record to a database table, and explain both the explicit column specification method and the implicit positional value method.
๐Ÿ’ป sql Snippet
INSERT INTO Student (stId, stName, cgpa) VALUES ('S1020', 'Sohail Dar', 3.2);