You are required to use OpenOffice software to build tables, write, and execute queries. 1. Build a Database named DBMS Course Project. The database should include following tables. * First Table – Students * ID * First Name * Last Name * Address * City * State * Zip Code * Phone Number with area code
* Second Table – GPA * ID * Current GPA * Class * 1 (Freshman) * 2 (Sophomore) * 3 (Junior) * 4 (Senior) * 5 (Graduate Student)
* Third Table – Scholarships * ID * Major course of study * Academic …show more content…
Extract the First and Last Name, Address, City, State, Zip Code and Phone Number of each senior on the database. Sort by Last Name, then First Name (1 sort). select s.First_Name, s.Last_Name, s.Address, s.City, s.State, s.Zipcode, s.Phone_Num from Students s, GPA g where g.Class = 4 and g.ID = s.ID order by s.Last_Name,s.First_Name;
3. Extract the First and Last Name, and GPA of each student who qualifies for the Dean’s List. Sort by GPA, then Last Name, then First Name (1 sort). A GPA of 3.25 is required to make the Dean’s List. select s.First_Name, s.Last_Name, g.Current_GPA from Students s, GPA g where s.ID = g.ID and g.Current_GPA >= 3.25 order by g.Current_GPA, s.Last_Name,s.First_Name;
Course Project Part 2
You are required to use OpenOffice software to write and execute queries with tables you created in project prt 1.
1. Extract the First and Last Name, Student ID, Course Major and GPA of any students on athletic scholarship. Sort by Student ID.
select s.First_Name, s.Last_Name,s.ID, sc.Major_Course, g.Current_GPA from Students s, GPA g, Scholarships sc where s.ID = g.ID and s.ID =