150 likes | 268 Views
Shannon Petty CCHS Database Project. Recommendations for improvement to the CCHS School Website for teacher use. Current Website.
E N D
Shannon PettyCCHS Database Project Recommendations for improvement to the CCHS School Website for teacher use
Current Website The current CCHS website is used primarily by parents and students to keep up with school information. The website contains information regarding teachers, classes, events, sports, and contact information
The problem…. • The current website provides a valuable service to the parents and students of CCHS, but not the teachers. Often there is information needed by a teacher, but there is not a way to access that information from the classroom. This includes other teacher’s room numbers, prep periods, lunch times, and years at CCHS. Since the website has already been created, this information could easily be added in a database for teacher use from their classrooms and homes.
Recommendation • Add a database to the teacher section entitled “Teacher section” that has a database to allow teachers to find other teachers’ prep periods, lunch periods, room numbers, etc.
SQL 1 – Teacher lunch by subject • SELECT "Teacher Info"."Last Name", "Teacher Info"."First Name", "Lunch"."Lunch", "Teacher Info"."Subject" FROM "Teacher Info", "Lunch" WHERE "Teacher Info"."LunchID" = "Lunch"."LunchID"
SQL2 – Teacher Prep by subject • SELECT "Teacher Info"."Last Name", "Teacher Info"."First Name", "Odd Prep"."Odd Prep", "Even Prep"."Even Prep", "Teacher Info"."Subject" FROM "Teacher Info", "Even Prep", "Odd Prep" WHERE "Teacher Info"."EvenID" = "Even Prep"."EvenID" AND "Teacher Info"."OddID" = "Odd Prep"."OddID"
SQL3 – Teacher prep by room number • SELECT "Teacher Info"."Last Name", "Teacher Info"."Room ", "Even Prep"."Even Prep", "Odd Prep"."Odd Prep" FROM "Teacher Info", "Even Prep", "Odd Prep" WHERE "Teacher Info"."EvenID" = "Even Prep"."EvenID" AND "Teacher Info"."OddID" = "Odd Prep"."OddID"