access project
| IfSuccessful_Status | GA_Status_Icon | SAM_Logo |
|---|---|---|
| true | ||
| false |
| ID | FirstName | LastName | AssignmentGUID | UserID |
|---|---|---|---|---|
| false | Rohit | Lama | {9F4BF351-D29A-4861-9201-AD3DAC9CA999} | {9F4BF351-D29A-4861-9201-AD3DAC9CA999} |
| ID | FirstName | LastName | ProjectName | SubmissionNum | MaxScore | Score | EngineVersion |
|---|
| ID | StepNumber | Description | IfSuccessful | StepScore | StepMaxScore | ErrorText | ActionName | StepActionOrder |
|---|
| BillingID | ClientID | TrainerID | StartDate | EndDate | Sessions | Amount |
|---|---|---|---|---|---|---|
| A80342 | A10486 | 605 | 3/7/18 | 3/28/18 | 10 | ¤ 1,000.00 |
| A80399 | A12565 | 302 | 3/16/18 | 4/27/18 | 12 | ¤ 1,200.00 |
| A80400 | A12565 | 542 | 5/3/18 | 5/31/18 | 7 | ¤ 750.00 |
| A80401 | A12565 | 542 | 6/1/18 | 6/3/18 | 6 | ¤ 600.00 |
| A80402 | A12565 | 542 | 9/4/18 | 11/8/18 | 6 | ¤ 600.00 |
| A80565 | A10526 | 222 | 2/1/18 | 2/17/18 | 2 | ¤ 100.00 |
| A80566 | A10526 | 222 | 3/18/18 | 4/22/18 | 4 | ¤ 450.00 |
| A80610 | A15671 | 409 | 4/1/18 | 5/17/18 | 14 | ¤ 1,400.00 |
| A80643 | A10235 | 501 | 2/2/18 | 2/18/18 | 4 | ¤ 450.00 |
| A80644 | A10235 | 501 | 2/23/18 | 3/17/18 | 6 | ¤ 600.00 |
| A80675 | A10845 | 508 | 3/3/18 | 5/19/18 | 12 | ¤ 1,550.00 |
| A84575 | A12865 | 409 | 3/9/18 | 3/21/18 | 8 | ¤ 950.00 |
| A84975 | A12465 | 699 | 3/22/18 | 3/24/18 | 1 | ¤ 75.00 |
| A91243 | A12465 | 222 | 5/2/18 | 6/15/18 | 3 | ¤ 320.00 |
| B80144 | B19356 | 701 | 4/12/18 | 5/21/18 | 4 | ¤ 450.00 |
| B80345 | B15678 | 605 | 3/28/18 | 4/18/18 | 12 | ¤ 1,450.00 |
| B80671 | B18536 | 700 | 3/1/18 | 3/2/18 | 2 | ¤ 250.00 |
| B80699 | B19356 | 701 | 3/8/18 | 3/29/18 | 5 | ¤ 550.00 |
| B80700 | B15678 | 605 | 5/12/18 | 8/21/18 | 6 | ¤ 650.00 |
| B85654 | B15264 | 222 | 3/2/18 | 3/17/18 | 12 | ¤ 1,550.00 |
| C80122 | C10685 | 704 | 7/1/18 | 9/20/18 | 5 | ¤ 580.00 |
| C80456 | C10685 | 704 | 6/16/18 | 6/23/18 | 3 | ¤ 300.00 |
| C80459 | C10536 | 704 | 6/8/18 | 7/6/18 | 4 | ¤ 450.00 |
| C80596 | C10256 | 703 | 6/6/18 | 6/29/18 | 11 | ¤ 1,250.00 |
| C80597 | C10256 | 703 | 7/1/18 | 7/22/18 | 3 | ¤ 300.00 |
| C80600 | C10256 | 703 | 8/1/18 | 11/30/18 | 8 | ¤ 780.00 |
| C80645 | C10286 | 703 | 6/7/18 | 6/28/18 | 4 | ¤ 450.00 |
| C80646 | C10536 | 703 | 8/1/18 | 10/15/18 | 3 | ¤ 320.00 |
| ClientID | ClientFirst | ClientLast | Address | City | State | Zip | Phone | BirthDate | Gender |
|---|---|---|---|---|---|---|---|---|---|
| A10026 | Alfred | Pineda | 465 Grant St. | Buffalo | NY | 14213 | 7165550001 | 12/15/61 | M |
| A10235 | Randy | Gibson | 396 Amherst St. | Buffalo | NY | 14207 | 7165551400 | 6/15/82 | M |
| A10486 | Christopher | Miller | 130 Main St. | Silver Springs | NY | 14550 | 5855550425 | 10/31/86 | M |
| A10526 | Sandy | Locke | 291 Ellicott St. | Buffalo | NY | 14207 | 7165558744 | 2/25/97 | F |
| A10845 | Josh | Kelly | 163 Main St. S | Perry | NY | 14530 | 5855551982 | 9/1/70 | M |
| A12465 | Maria | Johnston | 7056 Standpipe Rd. | Perry | NY | 14530 | 5855558765 | 6/14/99 | F |
| A12565 | Jenny | Brown | 141 Abbott Rd. | Buffalo | NY | 14222 | 7165550100 | 4/15/68 | F |
| A12865 | Elise | Fleming | 145 Main St. | Silver Springs | NY | 14550 | 5855550816 | 5/4/01 | F |
| A15671 | Sarah | Healey | 266 Elmwood Ave. | Buffalo | NY | 14222 | 7165558761 | 1/5/69 | F |
| B10585 | Anna | Palmer | 141 Abbott Rd. | Buffalo | NY | 14222 | 7165559855 | 2/25/65 | F |
| B15264 | Sue | Zimmermann | 126 Michigan Ave. | Buffalo | NY | 14202 | 7165557498 | 8/4/55 | F |
| B15678 | Bill | Roberts | 4402 Lakeshore Dr. | Castile | NY | 14427 | 5855558765 | 7/8/65 | M |
| B18536 | Norm | Gannon | 87 Main St. | Geneseo | NY | 14454 | 5855559763 | 10/28/82 | M |
| B19356 | Ashley | Rydel | 4235 Veteran Dr. | Geneseo | NY | 14454 | 5855556246 | 7/4/85 | F |
| C10256 | Andrew | Marotto | 8322 Park Rd. | Batavia | NY | 14020 | 7165556578 | 12/1/82 | M |
| C10286 | Beth | Lee | 87 Main St. | Geneseo | NY | 14454 | 5855550102 | 11/16/86 | F |
| C10536 | Anne | Lenhart | 1353 Lewiston Rd. | Basom | NY | 14013 | 5855556522 | 6/1/12 | F |
| C10685 | Erin | Gill | 196 Oak St. | Batavia | NY | 14020 | 7165559765 | 5/4/13 | F |
| EmployeeID | LocationID | First | Last | Title | MonthlySalary |
|---|---|---|---|---|---|
| 101 | A | Lena | Walker | Manager | ¤ 4,250.00 |
| 102 | A | John | Carlson | Manager | ¤ 4,000.00 |
| 103 | B | Steven | Iverson | Marketing | ¤ 4,100.00 |
| 104 | A | Lee | Elliott | Marketing | ¤ 4,250.00 |
| 105 | C | Jackie | Summers | Nutritionist | ¤ 1,850.00 |
| 106 | B | Ken | Bolton | Manager | ¤ 4,100.00 |
| 107 | B | Dorothy | Dimitri | Nutritionist | ¤ 1,950.00 |
| 108 | C | Karen | Delphard | Manager | ¤ 4,275.00 |
| 109 | A | Peter | Nowak | Massage Therapist | ¤ 1,875.00 |
| 110 | A | Ruth | Collins | Receptionist | ¤ 1,850.00 |
| 112 | A | Iris | Rodriguez | Client Account Rep | ¤ 2,200.00 |
| 113 | B | Sam | Bukowski | Client Account Rep | ¤ 2,200.00 |
| 114 | C | Donna | Smith | Client Account Rep | ¤ 2,500.00 |
| 115 | A | Barbara | Loft | Client Account Rep | ¤ 2,500.00 |
| 116 | A | Rick | Vitale | Staff | ¤ 1,500.00 |
| 117 | A | Ashley | Palmer | Staff | ¤ 1,500.00 |
| 118 | A | Robert | Dombrowksi | Staff | ¤ 1,500.00 |
| 119 | B | Sam | Fries | Staff | ¤ 1,500.00 |
| 120 | B | Julie | Quider | Staff | ¤ 1,500.00 |
| 121 | C | Hardeep | Kaur | Staff | ¤ 1,500.00 |
| 122 | C | Josh | Bernhardt | Staff | ¤ 1,500.00 |
| 125 | A | Sophie | Adamski | Billing Manager | ¤ 3,200.00 |
| 126 | C | Tom | Kelly | Receptionist | ¤ 1,800.00 |
| 127 | C | Christy | Burke | Accounts Receivable | ¤ 3,550.00 |
| 133 | C | Mark | Ma | Staff | ¤ 1,500.00 |
| 150 | B | Vince | Campanella | Accounts Payable | ¤ 3,550.00 |
| 152 | C | Elise | Horton | Staff | ¤ 1,500.00 |
| 156 | A | Stephanie | Miller | Accounts Receivable | ¤ 3,550.00 |
| 157 | B | Jenny | Neal | Receptionist | ¤ 1,800.00 |
| 185 | A | Cooper | Graeber | Accounts Payable | ¤ 3,500.00 |
| 198 | B | Andrew | Nowak | Accounts Receivable | ¤ 3,500.00 |
| 199 | C | Paul | Evers | Billing Manager | ¤ 3,150.00 |
| LocationID | ManagerID | LocationName | Address | City | State | ZipCode | Phone |
|---|---|---|---|---|---|---|---|
| A | 102 | Elmwood | 1400 Elmwood Ave. | Buffalo | NY | 14216 | 716-555-1212 |
| B | 106 | Riverside | 733 Hertel Ave. | Buffalo | NY | 14207 | 716-555-8315 |
| C | 108 | Genesee | 229 W Genesee St. | Buffalo | NY | 14202 | 716-555-9427 |
| TrainerID | LocationID | First | Last | Specialty | Certification | HireDate | Minors |
|---|---|---|---|---|---|---|---|
| 222 | A | Randy | Toth | Personal Trainer | PTA Global | 5/31/09 | false |
| 302 | A | Ashley | Martello | Strength Training | NSCA-CSCS | 6/8/12 | false |
| 409 | A | Justin | Rizzo | Personal Trainer | ACE | 4/25/14 | true |
| 501 | A | Mark | McKee | Strength Training | NSCA-CSCS | 5/2/16 | false |
| 508 | A | Sue | Leong | Sports Medicine | NATA | 1/5/15 | false |
| 542 | A | Mandy | Hatfield | Strength Training | NSCA-CSCS | 9/2/10 | true |
| 605 | A | Angela | Lorenzo | Sports Medicine | NATA | 3/1/15 | false |
| 699 | A | Jacob | Brown | Personal Trainer | PTA Global | 6/8/10 | false |
| 700 | B | Matthew | Burns | Sports Medicine | NATA | 9/1/11 | true |
| 701 | B | Anna | Bohn | Strength Training | NSCA-CSCS | 5/1/18 | false |
| 703 | C | John | Mueller | Headaches | ACE | 6/1/16 | true |
| 704 | C | Sonja | Sgroi | Sports Medicine | NASM | 6/2/17 | true |
| 706 | B | Carrie | Brennan | Strength Training | NSCA-CSCS | 6/15/16 | false |
| 708 | A | Ryan | Selva | Sports Medicine | NASM | 6/22/18 | true |
| 709 | A | Joel | Crain | Sports Medicine | NATA | 6/28/16 | false |
| 710 | C | Katie | Palmer | Personal Trainer | NSCA-CPT | 6/28/18 | true |
| 711 | A | Jose | Suarez | Strength Training | NSCA-CSCS | 6/30/16 | false |
| 713 | C | Maria | McCarthy | Sports Medicine | NATA | 6/30/18 | false |
| 714 | C | Ann | Wright | Strength Training | NSCA-CSCS | 7/2/19 | false |
| 715 | A | Donna | Sheehan | Personal Trainer | NSCA-CPT | 7/5/18 | true |
| 717 | B | Matt | Rozler | Sports Medicine | NATA | 7/5/16 | true |
| 718 | B | Sarah | Hill | Strength Training | NSCA-CSCS | 7/10/17 | true |
SELECT [tblLocation].[LocationID], [tblLocation].[LocationName]
FROM tblLocation;
PARAMETERS __LocationID Value;
SELECT DISTINCTROW *
FROM qryTrainersAndSessions AS frmLocationSessions
WHERE ([__LocationID] = LocationID);
SELECT [tblTrainer].[TrainerID], [tblTrainer].[Last], [tblTrainer].[First]
FROM tblTrainer;
PARAMETERS __TrainerID Value;
SELECT DISTINCTROW *
FROM tblBilling AS frmTrainersBilling
WHERE ([__TrainerID] = TrainerID);
SELECT DISTINCTROW *
FROM tblBilling;
SELECT DISTINCTROW *
FROM tblLocation;
SELECT DISTINCTROW *
FROM tblTrainer;
SELECT tblTrainer.TrainerID, tblTrainer.First, tblTrainer.Last, tblClient.ClientID, tblClient.ClientFirst, tblClient.ClientLast, tblBilling.Sessions, tblBilling.Amount
FROM tblTrainer INNER JOIN (tblClient INNER JOIN tblBilling ON tblClient.[ClientID] = tblBilling.[ClientID]) ON tblTrainer.[TrainerID] = tblBilling.[TrainerID]
ORDER BY tblTrainer.Last, tblClient.ClientLast, tblBilling.Amount;
SELECT tblEmployee.EmployeeID, tblLocation.LocationID, tblLocation.LocationName, tblEmployee.First, tblEmployee.Last, tblEmployee.Title, tblEmployee.MonthlySalary, tblLocation.ManagerID
FROM tblLocation INNER JOIN tblEmployee ON tblLocation.LocationID = tblEmployee.LocationID
ORDER BY tblEmployee.Last;
SELECT [First] & ' ' & [Last] AS TrainerName, tblTrainer.LocationID, Sum(tblBilling.Sessions) AS SumOfSessions
FROM tblTrainer INNER JOIN tblBilling ON tblTrainer.TrainerID = tblBilling.TrainerID
GROUP BY [First] & ' ' & [Last], tblTrainer.LocationID;
SELECT tblBilling.ClientID, [First] & ' ' & [Last] AS TrainerName, tblLocation.LocationID, tblLocation.LocationName, Sum(tblBilling.Sessions) AS SumOfSessions
FROM (tblLocation INNER JOIN tblTrainer ON tblLocation.LocationID = tblTrainer.LocationID) INNER JOIN tblBilling ON tblTrainer.TrainerID = tblBilling.TrainerID
GROUP BY tblBilling.ClientID, [First] & ' ' & [Last], tblLocation.LocationID, tblLocation.LocationName;
SELECT [FirstName] & " " & [LastName] AS StudentName, [_GradingReport].ProjectName, "Submission #" & [SubmissionNum] AS SubmissionCt, [_GradingReport].Score, [_GradingReport].MaxScore, "Score is: " & [Score] & " out of " & [MaxScore] AS Grade, [_GradingReportSteps].[StepNumber] & ". " & [Description] AS Step, [_GradingReportSteps].[StepScore] & "/" & [_GradingReportSteps].[StepMaxScore] AS StepGrade, [_GradingReportSteps].ActionName, IIf([ifsuccessful]=True,Null,[ErrorText]) AS Feedback, [_GradingReportSteps].IfSuccessful, [_GradingIcons].GA_Status_Icon, [_GradingReportSteps].StepNumber, [_GradingReportSteps].StepActionOrder, [_GradingReportSteps].ID, [_GradingIcons].SAM_Logo, [_GradingReportSteps].Description, [_GradingReport].EngineVersion
FROM _GradingReport, _GradingIcons INNER JOIN _GradingReportSteps ON [_GradingIcons].[IfSuccessful_Status] = [_GradingReportSteps].IfSuccessful;