Is582 week 1 i lab 1 sql queries using access
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Is582 week 1 i lab 1 sql queries using access

  • 553 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
553
On Slideshare
553
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. IS582 Week 1 iLab 1 SQL Queries UsingAccessClick this link to get the tutorial:http://homeworkfox.com/tutorials/computer-science/4651/is582-week-1-ilab-1-sql-queries-using-access/Week 1: The Database User View - iLabiLab 1: SQL Queries Using AccessNOTE: Access 2010 is required for this project. Please ensure you can run AccessiLABOVERVIEWScenario and SummaryThis week, you will learn to create and run SQL SELECT queries in the Access database. Youwill need todownload the Lab_1_SQL.accdb database from Doc Sharing and be able to run Access 2010,either through Citrix or installed on your workstation or laptop.DeliverablesRename the Lab_1_SQL.accdb database using your first initial, last name, and assignmentnumber as the file name (e.g., JSmith1.accdb). Create and save your SQL queries in yourdatabase. When you are done, submitiLABSTEPSSTEP 1• Download the Lab_1_SQL.accdb database from Doc Sharing.• Rename the Lab_1_SQL.accdb database with the following naming convention:Lab1_FirstinitialLastname as the file name (e.g., Lab1_JSmith.accdb).STEP 2Using the data in the Student table in the database, create a SQL query to satisfy each of the tasksbelow.Save each SQL query using the name associated with the task in the table below.
  • 2. Name TaskQuery1 Write a SQL statement to display Students First and Last Name.Query2Write a SQL statement to display the Major of students with no duplications.Do not display student names.Query3Write a SQL statement to display the First and Last Name of students who livein the Zip code 88888.Query4Write a SQL statement to display the First and Last Name of students who livein the Zip code 88888 and have the major of Biology.Query5Write a SQL statement to display the First and Last Name of students who livein the Zip code 88888 or 88808. Do not use IN.Query6Write a SQL statement to display the First and Last Name of students whohave the major of Biology or Math. Use the SQL command IN.Query7Write a SQL statement to display the First and Last Name of students whohave the Status greater than 1 and less than 10. Use the SQL commandBETWEEN.Query8Write a SQL statement to display the First and Last Name of students who
  • 3. have a last name that starts with an S.Query9Write a SQL statement to display the First and Last Name of students havingan a in the second position in their first names.Query10Write a SQL expression to display the Status and a sum of the Status of eachStatus value as SumOfStatus. Group by Status and display the results indescending order of SumOfStatus.STEP 3Upload the following files to the Week 1: Course Project Dropbox.Lab1_FirstInitialLastName.accdbSubmit your assignment to the Dropbox located on the silver tab at the topof this page.(See Syllabus "Due Dates for Assignments & Exams" for due dates.)RubricsQueries that are correct will be awarded the number of points shown below:6 points: Query 17 points: Query 2 - Query 58 points: Query 6 - Query 99 points: Query 10The following rubrics will be used for incorrect queries:0 points: Query was not turned in with the assignment.-5 points: Query would not run.
  • 4. -4 points: Query runs but is incorrect because query required a Where clause to meetrequirements which was not included.-3 points: Query runs but is incorrect because Where clause contained errors, gives popup foruser input, or only meets partial requirements.