| Signin | |
| Home | Syllabus |Assignments | SQL Tutorial | SQL Learn | Quick SQL | Downloads | Handouts | MY Page | Contact |
Assignments
Assignmnent #4 -Due Date(6/2/2004)
Create the database for selling books online as discussed in the Lecture. Research how to create relationships among tables and use it for this assignment.
Assignmnent #3 -Due Date(5/26/2004)
Create the following tables in your SQL Learn account as discussed in the Lecture
- STUDENT
- TEST_TYPE
- COURSE
- GRADES
Assignmnent #2 -Due Date(5/24/2004)
Write appropriate SQL for the following english queries. Use the SPJ datasheet for reference
- Get the names of all suppliers
- Get the names of parts whose weight is between 10 and 15
- Which supplier supplied what parts to the 'Sorter' job?
- Which jobs require red parts?
- Get the names of the suppliers who supplied in 1998 and 1999
- Get the names of the suppliers who never supplied anything in 1999
- Which supplier supplied the most parts ever?
- What is the total quantity of parts ordered for the 'Sorter' job?
- What are the parts that 'Adam' ever supplied?
- What is the most recently shipped job?
- What is the total weight of a 'Terminal'?
- Which supplier has the lowest status?
- What is the total weight of all the parts?
- Which of the jobs had all the parts from the same city?
- Get the names of the parts required to finish the 'Tape' job
- Which city had the maximum number of parts originating from it?
Assignmnent #1 -Due Date(5/19/2004)-
Write appropriate SQL for the following english queries. You could use Quick SQL to test your queries
- Get the names of all people
- Get the names and phone numbers for all John's in the database
- Get the maximum and minimum phone numbers
- How many people in the database have their first name that starts with 'J' or 'P'
©Copyright
2009 Gavi Narra |