No products in the cart.

3. Write SQL queries for (i) …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

3. Write SQL queries for (i) to (iv) and find outputs for SQL queries (v) to (viii), which are based on the tables :             (i) To display the CODE and NAME of all SALESPERSON having “I7” Item Type Code from the table SALESPERSON. (ii) To display all details from table SALESPERSON in descending order of SALARY. (iii) To display the number of SALESPERSON dealing in each TYPE of ITEM. (Use ITCODE for the same) (iv) To display NAME of all the salespersons from the SALESPERSON table along with their corresponding ITEMTYPE from the ITEM table. (v) SELECT MAX(SALARY) FROM SALESPERSON; (vi) SELECT DISTINCT ITCODE FROM SALESPERSON; (vii) SELECT CODE,NAME, I.ITCODE FROM SALESPERSON S, ITEM I WHERE S.ITCODE=I.ITCODE AND TURNOVER>=700000; (viii) SELECT SUM(SALARY) FROM SALESPERSON WHERE ITCODE=”I2”;
  • 0 answers
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App