Question: 2. Insert following records using insert command to Student Table. Student SID 345 234 451 239 SNAME BADAR SALIM ASMA AZZA AGE 19 23 34

 2. Insert following records using insert command to Student Table. Student

2. Insert following records using insert command to Student Table. Student SID 345 234 451 239 SNAME BADAR SALIM ASMA AZZA AGE 19 23 34 45 SALARY 1500 1300 760 930 ADDRESS MUSCAT MUSCAT SOHAR MUSCAT GENDER M M F F DOB 23/06/1991 27/03/2005 20/01/1999 30/11/2004 Write SQL queries for below questions. a) Change the address of Salim from MUSCAT to SOHAR. b) Increment the age of Azza by 1. c) Display all details of students coming from MUSCAT. d) Show all details of students who has date of birth after 01/01/2000. e) Select the name and address of students who has age greater than 25. f) Show the ID, name and salary of students who has salary between 1000 and 2000. g) Display the name and 12 months' salary as Annual Sal of all students. h) Display the name and age of students who has name starting with A. i) Display the name and age of students who has name ending with A. i) Display the name and age of students who has name with second character A. k) Display a column with name Stud detail with "name, age and salary" as a sentence in it for all 1) Display all Address without duplication. m) Display name and age of all female students coming from SOHAR. n) Display the name and salary of all students with DOB is equal to 27/03/2005 or age >30 o) Display the details of all students who is not coming from MUSCAT. p) Display the details of students according to the decreasing age order. a) Display the name and address of students by the order of gender, name

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!