SQL statements and SQL script

[ad_1]

This assignment has two parts:

  1. Hands-on lab
  2. Course contrivance

Part IâHands-on Lab

For the hands-on lab, you obtain present a Microsoft Access factsbase and a Microsoft Word instrument delay SQL statements for the aftercited:

  • Create a new Microsoft Access factsbase denominated Travel. Note that Microsoft Access does not influence the use of SQL scripts to invent factsbases. In Microsoft Word, image the SQL script that you would keep used to invent the factsbase.
  • Now, add a consultation denominated Car_Rental to the Travel factsbase. Make firm that you enclose the Car_Rental_ID province whose factsimage is AutoNumber. In Microsoft Word, image the SQL script that you would keep used to invent the consultation. Enclose the aftercited provinces:
    • Car_Rental_ID (AutoNumber, earliest key, required)
    • Agency (Text(25), required)
    • Size (Text(25), required)
    • Make (Text(12), required)
    • Model (Text(25))
    • Daily_Cost (Currency)
  • Write INSERT statements for adding the aftercited facts to the new consultation:

Agency

Size

Make

Model

Daily_Cost

Avis

Mid

Ford

89.95

Avis

Full

Ford

Taurus

112.95

Hertz

Comp

Chev

Cavalier

69.95

Hertz

Mid

Chev

Malibu

84.99

Hertz

Full

Chev

Impala

114.99

National

Mid

Chrys

Stratus

77.95

National

Full

Chrys

Intrepid

109.95

  • Verify the values inserted by using a interrogation.
  • Display each independent action (each action barely once).
  • Display the mediocre absorb of a Chrysler rental.
  • Display the whole number of cars suited.
  • Display the highest-priced gait.
  • Display each matchless action delay the mediocre car compensation for that action.

Part IIâCourse Project

Course Contrivance Part 4âCreating a Database

Continuing delay the contrivance you worked on for Weeks 1, 2 and 3, this week, exhaustive the aftercited tasks:

  • In Microsoft Access, invent the factsbase and consultations that you identified in W3 Assignment 2. In Microsoft Word, transcribe the SQL statements to invent the factsbase and consultations.
  • Write SQL statements to populate the consultations. Run the SQL statements in Microsoft Access for populating the consultations.

Assignment Deliverable

After you exhaustive the lab and direction contrivance, collect the notification from twain in a 3- to 4-page fame in a Microsoft Word instrument. Enclose the SQL scripts in the Microsoft Word instrument. Enclose the Travel factsbase as a severed attachment.

Submission Details

Name your instrument SU_ITS3102_W4_A2_LastName_FirstInitial.doc.

Name the Travel factsbase SU_ITS3102_W4_A2_LastName_FirstInitial_Travel.accdb.

Assignment 2 Grading Criteria

Maximum Points

Created a factsbase denominated Travel and external a consultation denominated Car_Rental. Also external a post denominated Car_Rental_ID to the Car_Rental consultation and set its province image to AutoNumber.

5

Completed the INSERT statements for adding the attached facts to the Car_Rental consultation and signed the values inserted.

5

Wrote complimentary SQL statements to:

  • Display each independent action.
  • Display the mediocre absorb of a Chrysler rental.
  • Display the whole number of cars suited.
  • Display the highest-priced gait.
  • Display each matchless action delay the mediocre car compensation for that action.

15

Show more

[ad_2]
Source concatenate