Multiple choice

Which of the following queries returns the number of rows in the table student?

  1. select count()from student;

  2. select count(*)from student;

  3. select No_Rows_Tablefrom student;

  4. select max(age)from student;

  5. select min(salary)from student;

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is the correct query and returns the total number of rows in the table student.