Database Systems
Given the following relation schemes:
Teacher = [CourseN, Quarter,TeacherName]
Course = [CourseN,CourseName, Nunit)
Student = [studentName, CourseN, Quarter]
LocationNTime = [CourseN, Quarter , DayTime, RoomN]
//Examples of DayTime: M2:00AM, W4:50PM, and T8:00PM. Note that DayTime is represented as a string.
Express the following queries by SQL statements and test them using any appropriate data. Take screenshots of the result, please let me know what program you use and please show all answers in complete form.
1. List the name of every teacher (distinct names) who teaches in RoomN 34 in Winter2011.
2. List CourseN, CourseName, and TeacherName of every course meets on Monday PM.
3. List the name of every teacher who taught at least one course in RroomN 723.
4. List the CourseN, Quarter, RoomN and DayTime of every course taught by Karen Reed in the Spring 2005.
5. List the CourseN and TeacherName of every course taken by the student Ron Smith or by the student David Weidman.
6. List the CourseN and Quarter of every course taught by Karen Reed and met or meets in RoomN 713.
7. List the name of every teacher who has taught the same course at least two times.
8. List the name of every teacher( distinct names) who has taught at least two different courses in the same or different quarters.
9. List the CourseN, CourseName, and Quarter which meets or met at least two times a week.
10. List the CourseN and CourseName of every course with number of units > 4.
11. List every course number and students name who has taken the course at least twice.
12. Use * to list the CourseN, CourseName, Nunit, Quarter, TeacherName of every
course sorted by CourseN ascending, CourseName descending.
13. List the CourseN and Quarter of every course taught by two different instructors in the same quarter ordered by the CourseN in descending order.
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|