INFOTECH where quality matters
MYSQL ASSIGNMENT - 1
Question. Suppose there is a table named SCHOOL? Write SQL Queries as per the following table fields -
ROLL, NAME, CLASS, SECTION, ADDRESS, CITY, PHONE
Q1. Display roll and name of all the students ?
Q2. Display roll and name of those who lives in Kishangarh ?
Q3. Display roll number of those students who study in class XI ?
Q4. Display all the details of student whose class is XI or XII ?
Q5. Display all the details of students who study in XIIth C. ?
Q6. Display name of those students who do not have phone number ?
Q7. Display all the details of students whose name starts with letter A ?
Q8. Display roll and class of those students who lives in ajmer and reads in XIth C?
Q9. Display details of those students who lives in Ajmer Jaipur or Beawar ?
Q10. Display all the details of student who do not lives in Ajmer ?
Q11. Display details of students whose name starts with C and lives at Beawar ?
Q12. Display details of those students who reads in sec a and sec b but not in xith ?
Q13. Display name of students who do not study in XIIth C ?
Q14. Display details of students who are in XIIth class but not lives in Ajmer ?
Q15. Display names of those students who are not studying in C Section ?
FIRST FLOOR, OPPOSITE BANK OF BARODA
AJMER RO AD, KISHANGARH (RAJ) 305801 CALL:+91-98291-71122
EMAIL:in
[email protected] | WEBSITE:ww w.infotechcomputer .in