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

  • A. SELECT AVG(age), gender FROM tblcustomer
  • B. SELECT AVG(age), gender FROM tblcustomer GROUP gender
  • C. SELECT AVG(age), gender FROM tblcustomer GROUP BY gender
  • D. None correct

Answer: Option A