SQL Commands
SQL Commands
NO 21 SQL COMMANDS
AIM:
To write Queries for the following Questions based on the given table:
ii) To display the company where the number of uniforms size is more than 2.
SELECT COMPANY, COUNT(*) FROM COST GROUP BY COMPANY HAVING
COUNT(*)>2;
iii) To display the Ucode, Uname, Ucolor, Size and Company of tables uniform and cost.
iv) To display the company where the number of uniforms size is more than 2.
SELECT COMPANY, COUNT(*) FROM COST GROUP BY COMPANY HAVING
COUNT(*)>2;
v) To display the Ucode, Uname, Ucolor, Size and Company of tables uniform and cost.