In SQL, which of the following syntax is correct about group by cid?

  • A. SELECT COUNT(cid), gender FROM tblstudent
  • B. SELECT COUNT(cid), gender FROM tblstudent IN GROUP gender
  • C. SELECT COUNT(cid), gender FROM tblstudent GROUP BY gender
  • D. None correct

Answer: Option A