0% found this document useful (0 votes)
46 views3 pages

1B. Select Cmpy Name From Company Where Sname "Telco"

This SQL query selects all columns from the COMPANY table ordered by gross profit descending and returns the company name from COMPANY where the subsidiary name is "TELCO".

Uploaded by

mpvetrivelu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views3 pages

1B. Select Cmpy Name From Company Where Sname "Telco"

This SQL query selects all columns from the COMPANY table ordered by gross profit descending and returns the company name from COMPANY where the subsidiary name is "TELCO".

Uploaded by

mpvetrivelu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1a.

SELECT * FROM COMPANY ORDER BY GP DESC;


1b. SELECT CMPY NAME FROM COMPANY
WHERE SNAME="TELCO";

You might also like