1 / 28100%
CSIS 325: Lab 6 SQL Queries
In this lab, you will be working with the following tables in SQL Server. To create and populate these
tables in SQL Server, run the queries that are listed below these tables.
CUSTOMER
CID
CName
Age
Resid_City
BirthPlace
1
BLACK
40
ERIE
TAMPA
2
GREEN
25
CARY
ERIE
3
JONES
30
HEMET
TAMPA
4
MARTIN
35
HEMET
TAMPA
5
SIMON
22
ERIE
ERIE
6
VERNON
60
CARY
CARY
7
WILSON
25
DENVER
AUSTIN
In the CUSTOMER table, CName is the primary key.
RENTALS
Rtn
CID
Make
Pickup
Date_returned
Return_city
1
1
FORD
CARY
12-Oct-2010
CARY
2
1
GM
TAMPA
05-Nov-2009
CARY
3
1
FORD
ERIE
10-Jan-2009
ERIE
4
2
NISSAN
TAMPA
5
3
FORD
Students also viewed