Add all the fields from the Employees table.
The query should list all employees whose Position begins with the word greenhouse and whose weekly hours are greater than or equal to 20. Hint: Include a wildcard character in the criterion for the Position field.
Modify the query design so results are sorted alphabetically by last name.
Add the MaintenanceLog table to this query and include the MaintenanceDate field after the WeeklyHours field.
Run the query to review the results. There should be 16 records in the results.
Save and close the query.
Name the Excel file: GreenhouseTechsFT
Include formatting and layout.
Save the export steps with the name: GreenhouseTechsFTExport
Add all the fields from the Plants table except ScientificName.
The query should list all white or blue colored plants whose DatePlanted is greater than or equal to 1/1/2019.
Modify the query design so results are sorted by values in the DatePlanted field with the newest plants listed first.
Run the query to review the results. There should be three records in the results.
Save and close the query.
Name the text file: NewPlants
Use Tab as the delimiter.
Include the field names in the first row.
Save the export steps with the name: NewPlantsExport
Add the following fields from the Plants table to the query: CommonName, PrimaryColor, PurchasePrice
Select only those plants with a red color, but don’t show this field in the query results.
Add a calculated field that displays a sale price that is 75 percent of the purchase price. Hint: Use an expression that calculates the value of the PurchasePrice field multiplied by 0.75. Use the name SalePrice for the new field.
Run the query to review the results. There should be five records in the results.
Save and close the query.
Include all fields from the Plants table except the PlantID.
Name this query: PlantsMissingMaintenance
Review the query results. There should be 15 records in the results.
Close the query.
Add the following fields from the Plants table to the query: CommonName, PrimaryColor, DatePlanted, PurchasePrice
Configure the PrimaryColor field so the user is prompted to enter the primary plant color with this message: Enter plant color
Test the query using the color violet. There should be three records in the results.
Save and close the query.
Employee | LastName | FirstName | MobilePhone | Position | WeeklyHours | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 7 | 8 | 2 | 4 | Miller | Gary | 20 | 5 | 12 | 3 | Greenhouse Tech 2 | ||||||
23 | 6 | 9 | Singleton | Jasmin | 30 | 10 | |||||||||||
312693 | 14 | Rojas | Paola | 301-555-2430 | Greenhouse Tech 1 | ||||||||||||
59267312 | Morber | Tracy | 703-555-8899 | Supervisor | |||||||||||||
68023812 | Barnes | Dale | 202-555-4455 | 35 | |||||||||||||
778 | 13 | Russell | George | 703-555-4456 | Greenhouse Tech 3 | 15 |
MaintenanceID | MaintenanceDate | Plant | Watered | Inspected | Pruned | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9/15/ | 19 | 11 | ALFA2 | false | true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9/ | 18 | 31269314 | ASTU | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RUHI2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AMTA2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MOPU | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9/ | 21 | YUFI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HEDE4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
COGL2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AGPU5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9/ | 22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9/21/18 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
16 | 9/25/19 | 1 | 17 | RHVI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
11782741 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RHCA7 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PECO4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9/26/19 | MOFI | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9/30/19 | COER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PlantID | CommonName | ScientificName | PrimaryColor | DatePlanted | PurchasePrice | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Gerardia | Agalinis purpurea | Violet | 4/11/19 | ¤ 4.50 | |||||||||
White | Aletris farinosa | 4/8/17 | ¤ 7.50 | ||||||||||
Eastern bluestar | Amsonia tabernaemontana | Blue | 5/1/19 | ||||||||||
ANBE | Wind-flower | Anemone berlandieri | 4/10/16 | ¤ 4.00 | |||||||||
AQCA | Eastern red columbine | Aquilegia canadensis | Red | 3/28/13 | ¤ 8.25 | ||||||||
Butterflyweed | Asclepias tuberosa | Orange | 3/31/15 | ¤ 11.50 | |||||||||
BAAL | White wild indigo | Baptisia alba | 4/15/07 | ¤ 6.25 | |||||||||
BAAU | Blue wild indigo | Baptisia australis | 5/5/18 | ||||||||||
Widow’s tears | Commelina erecta | ¤ 4.95 | |||||||||||
Coastal tickseed | Coreopsis gladiata | Yellow | 4/20/16 | ¤ 3.15 | |||||||||
COLA5 | Lanceleaf tickseed | Coreopsis lanceolata | 5/11/16 | ¤ 5.25 | |||||||||
CONU5 | Georgia tickseed | Coreopsis nudata | Pink | ||||||||||
GAPU | Firewheel | Gaillardia pulchella | ¤ 5.50 | ||||||||||
GEMA | Spotted geranium | Geranium maculatum | 9/15/15 | ||||||||||
Beach sunflower | Helianthus debilis | 4/18/16 | ¤ 3.50 | ||||||||||
IPRU2 | Standing cypress | Ipomopsis rubra | ¤ 6.50 | ||||||||||
KOVI | Seashore mallow | Kosteletzkya virginica | 4/30/19 | ||||||||||
LOCA2 | Cardinal flower | Lobelia cardinalis | ¤ 9.50 | ||||||||||
LUPE3 | Wild lupine | Lupinus perennis | ¤ 5.85 | ||||||||||
Wild bergamot | Monarda fistulosa | ||||||||||||
Horsemint | Monarda punctata | ¤ 4.90 | |||||||||||
Wild foxglove | Penstemon cobaea | ¤ 2.90 | |||||||||||
PHNI | Trailing phlox | Phlox nivalis | 3/29/09 | ¤ 2.50 | |||||||||
RHAL4 | Savannah meadowbeauty | Rhexia alifanus | ¤ 1.90 | ||||||||||
Wild azalea | Rhododendron canescens | ¤ 10.50 | |||||||||||
Handsome Harry | Rhexia virginica | ¤ 6.80 | |||||||||||
Black-eyed Susan | Rudbeckia hirta | ||||||||||||
SACO5 | Scarlet sage | Salvia coccinea | ¤ 8.20 | ||||||||||
Adam’s needle | Yucca filamentosa | ¤ 10.90 |
SELECT Employees.[EmployeeID], Employees.[LastName], Employees.[FirstName], Employees.[MobilePhone], Employees.[Position], Employees.[WeeklyHours]
FROM Employees;