Consider the relations.
$Supplier(\underline{S_{id}}, S_{Name}, S_{rating})$
$Parts(\underline{P_{id}}, P_{name}, P_{color})$
$Catalog(\underline{S_{id}, P_{id}}, cost)$
$ \text{Que: Retrieve $S_{id}$’s supplied atleast 2 parts}$
SELECT $C_1.S_{id}$
FROM $\text{Catalog as $C_1$}$
GROUP BY ($C_{1}.S_{id} ,C_{1}.P_{id} $)
HAVING $count(*) > 1;$
Please verify is this correct querry.