Question 2

With SQL, how can you return the number of records in the "Persons" table?

  1. ASELECT COUNT (*) FROM Persons
  2. BSELECT COUNT () FROM Persons
  3. CSELECT COUNT () FROM Persons
  4. DSELECT COLUMN (*) FROM Persons
Show answerHide answer

Correct answer: (A) SELECT COUNT (*) FROM Persons

Explanation

Options (b) and (c) are printed identically in the source book.

From DSSSB TGT Computer Science Practice Set 1

This is question 2 of DSSSB TGT Computer Science Practice Set 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.