Structured Query Language for Data Management

profileRicard20

 

 
Deliverable Length:2–4 pages
Details:

Weekly tasks or assignments (Individual or Group Projects) will be due by Monday and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnight Central Time.

Please Note: The class is delivered with SQL Server Express and SQL Server Management Studio. Students are encouraged to use the same software. If the student experiences problems with the installation they may use a comparable database like Oracle XE or MySQL.

The instructor will provide installation instructions upon download of the database software or assist students as required.

You are tasked with creating the database to store information for a university of your choosing. After initial design meetings with your client, the following business rules have been determined:

  • A student has a name, a birth date, and gender.
  • You must track the date the student started at the university and his or her current GPA, as well as be able to inactivate him or her without deleting information.
  • For advising purposes, store the student's background/bio information. This is like a little story.
  • An advisor has a name and an e-mail address.
  • Students are assigned to one advisor, but one advisor may service multiple students.
  • A class has a class code, name, and description.
  • You need to indicate the specific classes a student is taking/has taken at the university. Track the date the student started a specific class and the grade earned in that class.
  • Each class that a student takes has 4 assignments. Each assignment is worth 100 points.

The following entity tables have been composed:

Students
StudentIDint
FirstNamestring
LastNamestring
BirthDatedate
Genderstring
StartDatedate
GPAnumber
IsActiveboolean
Biostring
AdvisorIDint
 
Advisors
AdvisorIDnumber
FirstNamestring
LastNamestring
EmailAddrstring
 
Classes
ClassIDint
ClassCodestring
ClassNamestring
Descriptionstring
 
Students_Classes
StudentClassIDint
StudentIDint
ClassIDint
StartDatedate
Assignment1number
Assignment2number
Assignment3number
Assignment4number
ClassGPAnumber

Create a database in an SQL server, and translate this design into SQL server tables with appropriate fields. The data types above are general types. An int is an integer whole number. A number is a real number with a decimal point and fractional digits to the right of the decimal point. A string could be a single character, a few characters or even multiple paragraphs of text. Each DBMS may have several specific data types for each general type. The specific data type that you select will depend on the size and range of the values that will be stored in the field.

In the Students_Classes table, the assignment fields are used to record a grade for each of the 4 assignments in the class. Values range from 0–100. The GPA fields will store values from 0.00–4.00. In the Students table, the gender field will record an M or F.

All primary keys should be specified as “identity” or “auto-increment” fields, which means that the database management system will create a unique value for the field, each time a new row is added to the table. By default, the value starts at 1 for the first row added and increments by 1 for each new row inserted.

Your deliverable should be a Word document with the DDL script necessary to recreate all tables and relationships. Focus on proper datatypes, keys, identities, and constraints. Future assignments will depend on your design, so it is best to try and stick to the base specs. In addition to the DDL script, provide a screenshot of a diagram showing all tables and the relationships between them.

Your document will be used over the duration of this course for each of the weekly deliverables. Create an appropriate title page and table of contents with entries for each of the 5 weekly IP assignments (Week 1 IP, Week 2 IP, etc…). Content for this assignment would then correspond to the Week 1 IP.

Use of the following link to download SQL software:

 

Here is a link to SQL Server Express:

 https://www.microsoft.com/en-us/server-cloud/products/sql-server-editions/sql-server-express.aspx#fbid=NwvrGaiR5hr

for the SQL Server Management Studio:

 

http://www.microsoft.com/en-us/download/details.aspx?id=7593

 

 

    • Posted: 5 years ago
    • Due: 
    • Budget: $30
    Answers 1
    • Assignment
      Answer rating:5Stars out of2ratings

    Purchase the answer to view it

    blurred-text
    • Rated 2 times

      help

      You are tasked with creating the database to store information for a university of your choosing. After initial design meetings with your client, the following business rules have been determined:

      • A …

    • A student has a name, a birth date, and gender.

      You must track the date the student started at the university and his or her current GPA, as well as be able to inactivate him or her without deleting …