I have written the following code:
SELECT a.name
FROM Artist a, Author au, Arts o
WHERE a.aid=au.author AND au.art=o.oid AND COUNT (o.type)=2
GROUP BY a.name ;
But when i try to run it it shows that i have a syntax mistake with COUNT() commant..
Can you please help me? What is going wrong?