Consider a relational database containing the following schemas.
snoS1S1S1S2S2S3S3S3S3pnoP1P2P3P4P5P1P2P5P4cost15050100200250250150300250CataloguesnoS1S2S3snameM/s Royal furnitureM/s Balaji furnitureM/s Premium furniturelocationDelhiBangaloreChennaiSupplierspnoP1P2P3P4P5pnameTableChairTableAlmirahAlmirahpart_specWoodWoodSteelSteelWoodParts
The primary key of each table is indicated by underlining the constituent fields.
SELECT s.sno, s.sname
FROM Suppliers s, Catalogue c
WHERE s.sno=c.sno AND
cost > (SELECT AVG (cost)
FROM Catalogue
WHERE pno = 'P4'
GROUP BY pno) ;
The number of rows returned by the above SQL query is