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

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

Answer: Option C