150 likes | 384 Vues
Database Project. Angie Wells. Current Website The Ole Miss Band Website has an alumni page, but doesn’t list any alumni. The only way to check alumni is through the Ole Miss Band Alumni Facebook page, and there are very few members. Recommendations.
E N D
Database Project Angie Wells
Current Website The Ole Miss Band Website has an alumni page, but doesn’t list any alumni. The only way to check alumni is through the Ole Miss Band Alumni Facebook page, and there are very few members.
Recommendations • Create a relational database that allows alumni to search the following criteria about Ole Miss Band Alumni: • By name • By Instrument • By Hometown • By Major
Table #1 Alumni Membership This main table houses the data for all alumni of the band.
Table #2 Instruments This table shows the different instruments, each with its own identifier number, used by the band members.
Table #3 Majors Each major held by individuals has been assigned a number as its unique identifier.
Relationships The main table, Alumni Membership, is linked to the other two tables, Instruments and Majors.
Before & After Before: The current Ole Miss Band Alumni Page After: The Ole Miss Band Alumni Page with the new Find Alumni search feature.
Mock-Up Search Feature Search for Band Alumni by Name, Hometown, Major or Instrument Name Hometown Major Instrument Search Alumni
Query #1Alumni who played Flute To search for alumni who played flute in band
SQL Statement #1 SELECT "Members"."FirstName" AS "First Name", "Members"."LastName" AS "Last Name" FROM "Members", "Instrument" WHERE"Members"."Instrument" = "Instrument"."ID" AND"Instrument"."Instrument" = 'Flute'
Query #2Alumni music majors and instrument To search for alumni music majors and what instrument they played.
SQL Statement #2 SELECT "Members"."FirstName" AS "First Name", "Members"."LastName" AS "Last Name", "Instrument"."Instrument" AS "Instrument" FROM "Members", "Instrument", "Major“ WHERE "Members"."Instrument" = "Instrument"."ID" AND"Members"."Major" = "Major"."MajorID" AND "Major"."MajorID" = 2 ORDER BY "Last Name" ASC