80 likes | 187 Views
CSE 4504/6504 Lab. TA: Byron Williams Office: Bu209 Office hours: W: 3:15 – 5 pm R: 2 – 3:15 pm Email: bjw1@cse.msstate.edu Phone: 325-7503. Lab Overview. Exercises on ER diagrams, queries, and normalizations.
E N D
CSE 4504/6504 Lab TA: Byron Williams Office: Bu209 Office hours: W: 3:15 – 5 pm R: 2 – 3:15 pm Email: bjw1@cse.msstate.edu Phone: 325-7503
Lab Overview • Exercises on ER diagrams, queries, and normalizations. • Term project : We will give a basic specification for a DB. You will write your own specification and requirement analysis, construct ER model for the DB, do the normalization and database design, then implement the interface for the DB.
Lab Overview (cont.) • You need to have a RA account. Go to the following website to create one if you do not have one: http://www.its.msstate.edu/Services/Accounts/Create/ra_account.php • Oracle on RA: swsetup oracle sqlplus <login_id>/<password> (login_id : NetID, default password: NetID)
Requirement analysis and database specification • Application analysis • Database analysis • Database specification
Application Analysis The requirements about the functionality of the application. Examples: • The normal user can add or query the information in a DB. • Only admin can delete and update. • When user add a duplicate professor, it will popup a window.
Database Analysis • Identify the requirements about how a database looks and the constraints on the conceptual database design. • Identify what information should be stored in the DB. • Identify the constraints and relationships among these information
Examples: A university database: • Every professor has an SSN, a name, age, and a research specialty • Every project has a project number, a sponsor name, starting and ending date, and a budget • Each project is managed by one professor • A professor can manage multiple projects
Database Specification • ER diagram • UML