Data Base
| ContractID | StudentID | TutorID | ContractDate | SessionType | Length | NumSessions | Cost | Assessment |
|---|---|---|---|---|---|---|---|---|
| 34 | AND8009 | 79-0678 | false | |||||
| 5100 | CAR8059 | 31-1200 | 8/1/15 | Group | 4 | 6 | ¤ 960.00 | true |
| 5101 | DEN8042 | 33-0122 | 9/18/15 | Group | 3 | 6 | ¤ 720.00 | true |
| 5102 | NUN8084 | 69-2254 | 9/30/15 | Semi-private | 2 | 8 | ¤ 800.00 | true |
| 5103 | AND8009 | 27-0505 | 12/1/15 | Private | 2 | 8 | ¤ 960.00 | true |
| 5105 | GOS8029 | 51-7070 | 12/15/15 | Group | 3 | 8 | ¤ 960.00 | false |
| 5107 | WOO8071 | 88-0022 | 12/15/15 | Semi-private | 3 | 12 | ¤ 1,800.00 | true |
| 5108 | HEC8018 | 69-2254 | 12/17/15 | Semi-private | 3 | 6 | ¤ 900.00 | true |
| 5110 | YEN8035 | 43-4006 | 1/7/16 | Group | 4 | 8 | ¤ 1,280.00 | true |
| 5113 | ZWI8066 | 31-1200 | 1/10/16 | Group | 3 | 8 | ¤ 960.00 | true |
| 5115 | PAP8024 | 33-0122 | 1/15/16 | Group | 4 | 6 | ¤ 960.00 | false |
| 5117 | MUE8041 | 51-7070 | 1/15/16 | Private | 3 | 8 | ¤ 1,440.00 | false |
| 5118 | COL8031 | 55-1234 | 1/20/16 | Group | 3 | 12 | ¤ 1,440.00 | true |
| 5121 | ROC8025 | 50-3390 | 1/25/16 | Group | 4 | 6 | ¤ 960.00 | true |
| 5123 | OAT8010 | 88-0022 | 1/26/16 | Private | 3 | 8 | ¤ 1,440.00 | true |
| 5125 | GUS8002 | 69-2254 | 1/28/16 | Group | 3 | 6 | ¤ 720.00 | true |
| 5126 | NAS8012 | 79-0678 | 2/1/16 | Group | 3 | 8 | ¤ 960.00 | false |
| 5128 | SPE8022 | 66-5010 | 2/1/16 | Private | 2 | 8 | ¤ 960.00 | true |
| 5130 | BAT8045 | 68-8234 | 2/10/16 | Group | 3 | 8 | ¤ 960.00 | true |
| 5131 | HIN8040 | 55-1234 | 3/1/16 | Group | 3 | 8 | ¤ 960.00 | true |
| 5133 | TUR8005 | 68-8234 | 3/1/16 | Group | 4 | 8 | ¤ 1,280.00 | false |
| 5135 | BIE8000 | 19-3726 | 3/14/16 | Semi-private | 3 | 12 | ¤ 1,800.00 | true |
| 5136 | STI8038 | 51-7070 | 3/15/16 | Private | 2 | 6 | ¤ 720.00 | true |
| 5138 | VAR8027 | 71-1698 | 4/3/16 | Private | 3 | 6 | ¤ 1,080.00 | true |
| 5140 | BAL8033 | 19-3726 | 4/16/16 | Group | 4 | 8 | ¤ 1,280.00 | true |
| 5141 | SHE8090 | 55-1234 | 5/3/16 | Group | 4 | 12 | ¤ 1,920.00 | false |
| 5143 | MAS8056 | 31-1200 | 5/8/16 | Group | 4 | 6 | ¤ 960.00 | true |
| 5146 | YEN8035 | 50-3390 | 6/22/16 | Private | 2 | 12 | ¤ 1,440.00 | false |
| 5148 | ZWI8066 | 79-0678 | 7/7/16 | Private | 2 | 8 | ¤ 960.00 | true |
| 5149 | PAP8024 | 66-5010 | 7/10/16 | Private | 3 | 6 | ¤ 1,080.00 | false |
| 5151 | ROC8025 | 33-0122 | 7/11/16 | Group | 3 | 8 | ¤ 960.00 | true |
| 5154 | MOS8053 | 68-8234 | 7/12/16 | Group | 4 | 8 | ¤ 1,280.00 | false |
| 5158 | CAR8059 | 36-1664 | 7/15/16 | Semi-private | 2 | 12 | ¤ 1,200.00 | true |
| 5159 | MAH8053 | 27-0505 | 7/16/16 | Private | 2 | 6 | ¤ 720.00 | true |
| 5161 | DEN8042 | 66-5010 | 8/1/16 | Semi-private | 2 | 8 | ¤ 800.00 | true |
| 5166 | RIV8011 | 19-3726 | 8/10/16 | Private | 3 | 6 | ¤ 1,080.00 | false |
| 5167 | ENR8055 | 43-4006 | 8/23/16 | Group | 3 | 8 | ¤ 960.00 | true |
| 5168 | LUF8037 | 68-8234 | 8/30/16 | Group | 3 | 12 | ¤ 1,440.00 | true |
| 5169 | TAR8049 | 88-0022 | 8/30/16 | Group | 3 | 6 | ¤ 720.00 | true |
| 5170 | TAR8050 | 88-0022 | 8/30/16 | Group | 3 | 6 | ¤ 720.00 | true |
| 5171 | PLU8015 | 36-1664 | 9/9/16 | Private | 3 | 8 | ¤ 1,440.00 | false |
| 5172 | GOS8029 | 71-1698 | 9/7/16 | Private | 2 | 6 | ¤ 720.00 | true |
| 5174 | GUS8002 | 69-2254 | 9/10/16 | Semi-private | 3 | 6 | ¤ 900.00 | true |
| 5175 | NAS8012 | 79-0678 | 9/12/16 | Semi-private | 2 | 8 | ¤ 800.00 | true |
| 5176 | TUR8005 | 50-3390 | 9/15/16 | Private | 3 | 8 | ¤ 1,440.00 | true |
| 5177 | DRO8048 | 27-0505 | 9/15/16 | Private | 2 | 6 | ¤ 720.00 | true |
| 5178 | VAR8027 | 71-1698 | 9/20/16 | Private | 2 | 8 | ¤ 960.00 | true |
| StudentID | FirstName | LastName | Address | City | State | Zip | HomePhone | CellPhone | BirthDate | Gender |
|---|---|---|---|---|---|---|---|---|---|---|
| AND8009 | Jamie | Anderson | 5678 Wayside Ct | New Carlisle | IN | 46552 | 5746542245 | 574-654-0091 | 10/10/02 | F |
| AYO8022 | Andrea | Ayotte | 880 Northern Ave | South Bend | IN | 46613 | 5742042227 | 574-472-2308 | 11/28/02 | F |
| BAL8033 | Sean | Balise | 462 Main St | South Bend | IN | 46614 | 5742105326 | 574-485-1045 | 6/12/01 | M |
| BAT8045 | Gerta | Batchelder | 87 Calvin Ct | Mishawaka | IN | 46544 | 5742524409 | 574-252-4932 | 8/20/00 | F |
| BIE8000 | Joshua | Biega | 122 Chestnut St | Mishawaka | IN | 46544 | 5742521135 | 574-527-0219 | 1/12/01 | M |
| CAR8059 | Carol | Carlson | 1213 Winter St | South Bend | IN | 46613 | 5742208410 | 574-220-9625 | 9/24/01 | F |
| CHA8034 | Henry | Chang | 1401 Lauren Dr | Oscela | IN | 46561 | 5746073045 | 574-674-2410 | 10/5/99 | M |
| COL8031 | Morris | Coldwell | 205 Cinder St | Mishawaka | IN | 46544 | 5742540838 | 574-527-7712 | 7/26/02 | M |
| DEN8042 | David | DeNardo | 283 Tulane Dr | South Bend | IN | 46617 | 5742459610 | 574-514-8337 | 3/27/01 | M |
| DRO8048 | Emma | Drouin | 1910 Davidson St | Oscela | IN | 46561 | 5746072368 | 574-674-1275 | 10/24/01 | F |
| ELL8065 | Jack | Ellis | 16 Court St | South Bend | IN | 46637 | 5742283663 | 574-228-6540 | 10/20/01 | M |
| ENR8055 | Bess | Enright | 1715 Honeycomb Dr | New Carlisle | IN | 46552 | 5746548879 | 574-654-5951 | 2/4/02 | F |
| GOS8029 | Haley | Gosnold | 1763 Ryan Ct | Mishawaka | IN | 46544 | 5742553027 | 574-252-1973 | 11/29/01 | F |
| GUS8002 | Michael | Gustafson | 329 Murphy Ave | Oscela | IN | 46561 | 5746744038 | 574-256-9117 | 9/13/01 | M |
| HEC8018 | Eric | Hecht | 30 Calico St | South Bend | IN | 46617 | 5742347433 | 574-564-1956 | 4/4/00 | M |
| HIN8040 | Erica | Hinkle | 55 Shepley Rd | Oscela | IN | 46561 | 5746752553 | 574-547-5573 | 6/14/00 | F |
| KAV8030 | Alexa | Kavik | 504 Windemere Ave | Mishawaka | IN | 46544 | 5746758864 | 574-675-6876 | 4/23/00 | F |
| LUF8037 | Greg | Luff | 145 Powell Blvd | New Carlisle | IN | 46552 | 5746541430 | 574-654-8002 | 1/31/02 | M |
| MAH8053 | Albert | Mahlau | 1012 Barlow Rd | South Bend | IN | 46637 | 5742176218 | 574-564-1018 | 3/15/00 | M |
| MAS8056 | Kimberly | Mase | 550 Allanville St | Oscela | IN | 46561 | 5746796639 | 574-563-9511 | 7/27/99 | F |
| MOS8053 | Anesha | Mosychuk | 185 Sammy Ln | South Bend | IN | 46637 | 5742170559 | 574-485-6303 | 11/13/02 | F |
| MUE8041 | Bart | Mueller | 1347 Lance Rd | Oscela | IN | 46561 | 5746511155 | 574-646-8902 | 4/18/01 | M |
| NAS8012 | Andre | Nastasia | 668 Nora Dr | Oscela | IN | 46561 | 5746513379 | 574-617-9245 | 2/16/00 | M |
| NUN8084 | Rodrigo | Nunez | 140 Lower County Rd | South Bend | IN | 46637 | 5742323156 | 574-514-8882 | 10/13/00 | M |
| OAT8010 | Kyle | Oates | 45 Sebastian Rd | South Bend | IN | 46619 | 5742324828 | 574-232-5228 | 7/6/01 | M |
| PAP8024 | Zach | Pappas | 781 Merchants Rd | South Bend | IN | 46619 | 5742596004 | 574-232-2790 | 6/16/01 | M |
| PLU8015 | Dana | Plummer | 405 Palmer Ave | New Carlisle | IN | 46552 | 5746458155 | 574-654-3581 | 11/20/01 | F |
| RIV8011 | Marco | Rivera | 4321 Farmcrest St | Oscela | IN | 46561 | 5746071517 | 574-640-0443 | 5/22/01 | M |
| ROC8025 | Daniel | Roche | 2385 Vista Dr | South Bend | IN | 46613 | 5742203717 | 574-617-7984 | 3/23/02 | M |
| SHE8090 | Marci | Sheppard | 135 Bradford Pl | South Bend | IN | 46614 | 5742324221 | 574-232-5322 | 8/23/00 | F |
| SPE8022 | Ross | Spence | 1220 Holcomb Dr | South Bend | IN | 46637 | 5742337998 | 574-514-7299 | 8/22/01 | M |
| STI8038 | Lily | Stiefel | 164 Maris St | Oscela | IN | 46561 | 5746754232 | 574-258-0202 | 10/19/02 | F |
| TAR8049 | Isabella | Tartaglia | 5 Ryebrook Ave | Mishawaka | IN | 46544 | 5742567302 | 574-536-7819 | 10/14/01 | F |
| TAR8050 | Donato | Tartaglia | 5 Ryebrook Ave | Mishawaka | IN | 46544 | 5742567302 | 574-536-7899 | 10/14/01 | M |
| TUR8005 | Lynne | Turner | 6 Crowell Ct | South Bend | IN | 46614 | 5742452125 | 574-245-8842 | 7/24/02 | F |
| VAR8027 | Vera | Vargas | 37 Great Western Rd | South Bend | IN | 46617 | 5742205928 | 574-245-1972 | 9/18/02 | F |
| WOO8071 | Jon | Woodburn | 445 Avalon Dr | South Bend | IN | 46613 | 5742289284 | 574-204-9284 | 6/20/01 | M |
| YEN8035 | Lila | Yen | 1220 Burkhill St | Oscela | IN | 46561 | 5746079451 | 574-607-8841 | 9/30/99 | F |
| ZWI8066 | Robert | Zwicker | 68 King St | Mishawaka | IN | 46545 | 5742562148 | 574-527-2479 | 5/1/01 | M |
| TutorID | FirstName | LastName | Degree | School | HireDate | Groups |
|---|---|---|---|---|---|---|
| 19-3726 | Patrick | Conley | BA | Robert Frost State College | 1/6/15 | false |
| 27-0505 | Michaela | Jellinek | MS | Kilderry College | 6/20/16 | false |
| 31-1200 | Student First | Student Last | BA | Pierre University | 8/2/15 | true |
| 33-0122 | Amy | Hawkins | BS | Rosebriar College | 8/4/15 | true |
| 36-1664 | Youngho | Lim | EdD | Weisser Technical Institute | 4/1/16 | false |
| 43-4006 | Lori | Burns | BA | University of Reedsville | 3/3/16 | true |
| 50-3390 | Deborah | Nowak | BA | Guilford-Grant College | 6/3/15 | false |
| 51-7070 | Alameda | Sarracino | MA | Edgar Lee University | 3/27/16 | false |
| 55-1234 | Samuel | Glick | BA | Manoog College | 7/23/16 | false |
| 66-5010 | Jacques | LaFarge | MA | College of the North West | 1/25/16 | false |
| 68-8234 | Caitlin | Shea | MS | Towns University | 1/5/16 | true |
| 69-2254 | Sachi | Hatanaka | MA | Wyman College | 3/23/15 | false |
| 71-1698 | Richard | Keating | PhD | Hobert University | 5/3/15 | false |
| 79-0678 | Riley | Andoval | BA | University of Piperstown | 9/15/15 | false |
| 88-0022 | Len | Onida | BS | Tomason College | 2/17/15 | false |
SELECT Min(tblContract.Cost) AS [Minimum Cost], Avg(tblContract.Cost) AS [Average Cost], Max(tblContract.Cost) AS [Maximum Cost]
FROM tblContract;
SELECT Student.City, Min(Contract.Cost) AS [Minimum Cost], Avg(Contract.Cost) AS [Average Cost], Max(Contract.Cost) AS [Maximum Cost]
FROM Student INNER JOIN Contract ON Student.StudentID = Contract.StudentID
GROUP BY Student.City;
SELECT Tutor.LastName, Contract.StudentID, Contract.ContractDate, Contract.Length, Contract.Cost
FROM Tutor INNER JOIN Contract ON Tutor.TutorID = Contract.TutorID
WHERE (((Contract.SessionType)="Group"))
ORDER BY Tutor.LastName, Contract.StudentID;
SELECT tblStudent.[FirstName], tblStudent.[LastName], tblStudent.[City], tblStudent.[HomePhone]
FROM tblStudent
WHERE (((tblStudent.[LastName]) Like "M*"))
ORDER BY tblStudent.[LastName];
SELECT tblContract.[StudentID], tblContract.[SessionType], tblContract.[ContractID], tblContract.[TutorID], tblContract.[ContractDate], tblContract.[Length], tblContract.[NumSessions], tblContract.[Cost], tblContract.[Assessment]
FROM tblContract
WHERE (((tblContract.[StudentID]) In (SELECT [StudentID] FROM [tblContract] As Tmp GROUP BY [StudentID],[SessionType] HAVING Count(*)>1 And [SessionType] = [tblContract].[SessionType])))
ORDER BY tblContract.[StudentID], tblContract.[SessionType];
SELECT tblStudent.[FirstName], tblStudent.[LastName], tblStudent.[City], tblStudent.[HomePhone]
FROM tblStudent
WHERE ((Not (tblStudent.[City])=("South Bend")))
ORDER BY tblStudent.[City];
SELECT Student.StudentID, Student.FirstName, Student.LastName, Contract.ContractDate, Contract.Cost
FROM Student INNER JOIN Contract ON Student.StudentID = Contract.StudentID
WHERE (((Student.City)="Oscela")) OR (((Contract.SessionType)="Semi-private"))
ORDER BY Contract.ContractDate DESC;
SELECT tblTutor.FirstName, tblTutor.LastName, tblTutor.Degree
FROM tblTutor
WHERE (((tblTutor.Degree)="BA")) OR (((tblTutor.Degree)="MA"))
ORDER BY tblTutor.LastName;
SELECT Tutor.LastName, Contract.StudentID, Contract.ContractDate, Contract.SessionType, Contract.Length, Contract.Cost
FROM Tutor INNER JOIN Contract ON Tutor.TutorID = Contract.TutorID
ORDER BY Tutor.LastName, Contract.StudentID;
TRANSFORM Count(tblContract_Crosstab.[2]) AS CountOf2
SELECT tblContract_Crosstab.SessionType, Count(tblContract_Crosstab.[2]) AS [Total Of 2]
FROM tblContract_Crosstab
GROUP BY tblContract_Crosstab.SessionType
PIVOT tblContract_Crosstab.[Total Of ContractID];
SELECT tblContract.[ContractID], tblContract.[StudentID], tblContract.[TutorID], tblContract.[ContractDate], tblContract.[SessionType], tblContract.[Length], tblContract.[NumSessions], tblContract.[Cost], tblContract.[Assessment]
FROM tblContract
WHERE (((tblContract.[SessionType]) Like [Type a Session Type:] & "*"));
SELECT Student.StudentID, Student.LastName, Student.FirstName, Contract.ContractDate
FROM Student INNER JOIN Contract ON Student.StudentID = Contract.StudentID
WHERE (((Student.City)="South Bend") AND ((Contract.SessionType)="Private"))
ORDER BY Student.LastName;
SELECT Tutor.[FirstName], Tutor.[LastName], Tutor.[HireDate]
FROM Tutor;
SELECT Student.LastName, Student.FirstName, Student.CellPhone
FROM Student;
SELECT tblStudent.StudentID, tblStudent.FirstName, tblStudent.LastName, tblStudent.Address, tblStudent.City, tblStudent.State, tblStudent.Zip, tblStudent.HomePhone, tblStudent.CellPhone, tblStudent.BirthDate, tblStudent.Gender
FROM tblStudent LEFT JOIN tblContract ON tblStudent.[StudentID] = tblContract.[StudentID]
WHERE (((tblContract.StudentID) Is Null));
SELECT tblTutor.[TutorID], [FirstName] & " " & [LastName] AS TutorName, tblTutor.[Degree], tblTutor.[School], tblTutor.[HireDate], tblTutor.[Groups]
FROM tblTutor
ORDER BY [FirstName] & " " & [LastName], tblTutor.[FirstName], tblTutor.[LastName];
TRANSFORM Count(tblContract.[ContractID]) AS CountOfContractID
SELECT tblContract.[SessionType], Count(tblContract.[ContractID]) AS [Total Of ContractID]
FROM tblContract
GROUP BY tblContract.[SessionType]
PIVOT tblContract.[Length];
TRANSFORM Count(tblContract.[ContractID]) AS CountOfContractID
SELECT Count(tblContract.[ContractID]) AS [Total Of ContractID], tblContract.[SessionType]
FROM tblContract
GROUP BY tblContract.[SessionType]
PIVOT tblContract.[Length];
SELECT tblTutor.FirstName, tblTutor.LastName, tblContract.StudentID, tblContract.ContractID, tblContract.SessionType, tblContract.Length, tblContract.Cost
FROM tblTutor INNER JOIN tblContract ON tblTutor.[TutorID] = tblContract.[TutorID];
SELECT DISTINCTROW *
FROM tblTutor;
SELECT [tblContract].[ContractID], [tblContract].[StudentID], [tblContract].[TutorID], [tblContract].[ContractDate], [tblContract].[SessionType], [tblContract].[Length], [tblContract].[NumSessions], [tblContract].[Cost], [tblContract].[Assessment]
FROM tblContract;
SELECT [tblTutor].[TutorID], [tblTutor].[LastName], [tblTutor].[FirstName]
FROM tblTutor
ORDER BY [LastName], [FirstName];
SELECT [tblStudent].[StudentID], [tblStudent].[FirstName], [tblStudent].[LastName]
FROM tblStudent
ORDER BY [LastName], [FirstName];
SELECT DISTINCTROW *
FROM tblContract;