In SQL, which of the following syntax is correct for the sum of spends?

  • A. SELECT SUM(spend), gender FROM tblstudent
  • B. SELECT SUM(spend), gender FROM tblstudent GROUP gender
  • C. SELECT SUM(spend), gender FROM tblstudent GROUP BY gender
  • D. None correct

Answer: Option A