From the following statements which of them is/are true about SQL
a) All attributes used in the group by clause must appear in the select clause
b) An SQL query can contain a having clause only if it has a group by clause
c) An SQL query can contain a having clause even if it does not have a group by clause
d) Not all attributes used in the group by clause need to appear in the select clause