CREATE TABLE Part_Faults (part_id VARCHAR2)
CREATE TABLE Parts (part_name VARCHAR2, part_id VARCHAR2)

Which parts have more than 2 faults? Show the part name and id.
SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_id HAVING COUNT(*) > 2
SELECT "T1"."part_name", "T1"."part_id" FROM "Parts" "T1" JOIN "Part_Faults" "T2" ON "T1"."part_id" = "T2"."part_id" GROUP BY "T1"."part_id" HAVING COUNT(*) > 2