Information Systems Access Assignment 12

profileChynell23
GreenB_AccessAssigment_secondDelcop.accdb
CUSTCODE CustOrgName CustCity
142 TechLogic Tallahassee
190 University High School Birmingham
204 Village of Mannheim Mannheim
230 Dobler, Lenart & Ulonska, LLC Niederkirchen
EMPCODE EmpFirstName EmpLastName CommRate
21 John Thomas 0.04
22 Coby McCool 0.04
23 Chadwick Branson 0.06
PRODNO ProdDesc UnitPrice
a1100 Auxiliary Hub ¤ 40.00
a1130 Cat 50 Cable ¤ 10.00
c1050 Calculator HP 10b ¤ 20.00
c1080 Calculator TI 2200 ¤ 60.00
INVNO InvDate EmpCode CustCode
100022 2023-09-05 21 142
100023 2023-09-10 21 190
100024 2023-09-15 22 204
100025 2023-09-20 23 230
100026 2023-09-25 23 204
100027 2023-09-30 22 190
100028 2023-10-05 23 230
100029 2023-10-10 23 142
100030 2023-10-15 21 230
100031 2023-10-20 22 142
100032 2023-10-25 22 204
100033 2023-10-30 21 204
100034 2023-11-05 23 190
100035 2023-11-10 23 142
100036 2023-11-15 21 230
100037 2023-11-20 22 142
100038 2023-11-25 21 204
100039 2023-11-30 21 230
100040 2023-12-05 23 190
100041 2023-12-10 22 142
INVNO PRODNO QtySold
100022 c1050 20
100022 c1080 10
100023 a1100 11
100023 a1130 2
100023 c1050 200
100024 a1130 4
100025 a1130 5
100025 c1080 30
100026 a1100 3
100027 a1100 20
100027 a1130 8
100028 a1130 100
100028 c1080 65
100029 c1050 40
100029 c1080 40
100030 a1100 10
100030 a1130 300
100031 a1100 15
100032 a1100 25
100032 a1130 100
100032 c1050 6
100033 a1100 10
100033 a1130 200
100034 c1050 10
100034 c1080 12
100035 a1130 150
100035 c1050 5
100036 a1100 40
100036 a1130 800
100036 c1080 13
100037 c1050 10
100037 c1080 10
100038 a1130 50
100039 a1130 55
100039 c1050 5
100039 c1080 8
100040 a1100 13
100041 a1130 14
PARAMETERS __INVNO Value; SELECT DISTINCTROW * FROM [SELECT [InvoiceLine].[PRODNO], [InvoiceLine].[QtySold], [Inventory].[ProdDesc], [Inventory].[UnitPrice], [InvoiceLine].[INVNO] FROM Inventory INNER JOIN InvoiceLine ON [Inventory].[PRODNO] =[InvoiceLine].[PRODNO]]. AS InvoiceMainForm WHERE ([__INVNO] = INVNO);
SELECT Invoice.INVNO, Customer.CustOrgName, Customer.CustCity, Employee.EmpLastName, Employee.CommRate, Invoice.InvDate, Invoice.EmpCode, Invoice.CustCode FROM Employee INNER JOIN (Customer INNER JOIN Invoice ON Customer.[CUSTCODE] = Invoice.[CustCode]) ON Employee.[EMPCODE] = Invoice.[EmpCode];
SELECT Invoice.INVNO FROM Customer INNER JOIN Invoice ON Customer.CUSTCODE = Invoice.CustCode WHERE (((Customer.CUSTCODE)="142"));
SELECT [CustomerSalesQuery].[INVNO], [Customer].[CustOrgName], [Invoice].[InvDate], [Inventory].[PRODNO], [Inventory].[ProdDesc], [Inventory].[UnitPrice] FROM (CustomerSalesQuery INNER JOIN (Customer INNER JOIN Invoice ON [Customer].[CUSTCODE] =[Invoice].[CustCode]) ON [CustomerSalesQuery].[INVNO] =[Invoice].[INVNO]) INNER JOIN (Inventory INNER JOIN InvoiceLine ON [Inventory].[PRODNO] =[InvoiceLine].[PRODNO]) ON [Invoice].[INVNO] =[InvoiceLine].[INVNO];
SELECT [InvoiceLine].[PRODNO], [InvoiceLine].[QtySold], [Inventory].[ProdDesc], [Inventory].[UnitPrice], [InvoiceLine].[INVNO] FROM Inventory INNER JOIN InvoiceLine ON [Inventory].[PRODNO] =[InvoiceLine].[PRODNO];