Saved Bookmarks
| 1. |
Consider the table EXAM given below. Write commands in MySql for (i) to (IV)Table: EXAMNoNameStipendSubject AverageDivision1Babita400English15FIRST2Silky680Maths24FIRST3Jyoti500Accounts35FIRST4Archana200IP20SECOND5Sugandha400History10THIRD6Suparna550Geo5THIRD7Ankit400History10THIRDA) To list the names of those students, who have obtained Division as FIRST. B) To display records listing NAME, SUBJECT for stipend between 400 to 800. C) Remove the column division D) To create a database by the name SCHOOL. |
|
Answer» A) Select Name from EXAM where division =” FIRST”; B) Select Name, Subject from Exam where Stipend between 400 and 800; C) Alter table Exam drop Division; D) Create Database SCHOOL; |
|