Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
245 views
in Computer by (15 points)

<!--StartFragment-->

Write  the  output  of  SQL  Queries  (i)  to  (iv)  and  write  output  for  v  based  on  ITEM  table  

 

<!--[if gte vml 1]> <![endif]--><!--[if !vml]-->image<!--[endif]--> 

<!--[if !supportLists]-->(i)           <!--[endif]-->To  display  all  INAME  from  ITEMS  table  in  descending  order  of  their 

PRICE  

<!--[if !supportLists]-->(ii)          <!--[endif]-->To  display  all  ITEMS  details  whose  price  is  in  range  of  15000  and 

25000  

<!--[if !supportLists]-->(iii)        <!--[endif]-->To  display  Sum  of  price  and  TCode  where  Qty i s  more  than  50 

TCode  wise  (for  each  TCode)  

<!--[if !supportLists]-->(iv)        <!--[endif]-->To  delete  all  ITEMS  from  table  where  CODE i s  1003 

<!--[if !supportLists]-->(v)         <!--[endif]-->Select  TCode,  sum(price)  from  ITEMS  group  by  TCode  where  count(*)>1 

<!--EndFragment-->

Please log in or register to answer this question.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...