Database Revision 1 ABC Stationery Supplies • Complex queries • Exporting data • Field names/data types • Importing data
Feb 25, 2016
Slide 1
Database Revision 1ABC Stationery Supplies
Complex queriesExporting data
Field names/data typesImporting dataYou work for a shop selling office and school supplies. Import Stationery.csv and assign the following data types (and sensible names) to the fields:
Task 1CodeNumericType of product to be soldTextDescription of product to be soldTextQuantity of items in each packNumericColorTextSales PriceCurrency/ 2 decimal placesPurchase PriceCurrency/ 2 decimal placesDiscountBooleanAdd the following records:
Task 2CodeTypeDesc.QuantColorSPricePPriceDiscount44282Lever Arch FileLaminated lever arch files1Red57.2228.96N44283Lever Arch FileLaminated lever arch files1Yellow57.2228.96N47478Spine LabelEastlight Spine Labels1003013.86YCreate a report called House colors which shows:
All the items which are NOT foldersWhich have A4 in the descriptionWhich sell for 45 or lessAnd are either blue, red, green or yellow
Task 3Export your data from Task 3 in a format which can be used in a spreadsheet package.
Export it also in a format which can be used in a word processing package.
Task 4
Create labels for all the stationery items that attract a discount.Labels should fit 3 to a row, and include the following labels, picture and data:
Task 5
DescriptionColorSelling Price
Your name, centre number and candidate number should be at the bottom of each label