Download presentation
Presentation is loading. Please wait.
Published byAllan Dalton Modified over 8 years ago
1
+ A Little Database: LS 560 Assignment 3 Emily Bibb and Belinda Sawyer
2
+ A Little Bit Sheepish: a yarn shop in historic Berlin, MD http://www.alittlebitsheepish.com/
3
+ Newsletter Sign-up
4
+ Events Calendar
5
+ Online shopping
6
+ So, what does this site need? Searchable Events Date Price Searchable customer information Amount spent
7
+ Relationships
8
+ Online shopping, with returning customers functionality added
9
+ Events, before and after
10
+ SQL Query 1: To determine class size SELECT "eventtitle", "instructor", "enrollment" FROM "events" WHERE "enrollment" <= 8 ORDER BY "eventtitle" Query 2: To determine a customer’s spending SELECT "purchaseID", "customer", "amountpaid", "date" FROM "purchases" WHERE "customer" = 1234 ORDER BY "date" ASC Query 3: To find available classes within a certain price range SELECT "eventtitle", "startdate", "crafttype", "cost" FROM "events" WHERE "cost" <= 40 ORDER BY "startdate" ASC
11
+ Sample Report: Classes where enrollment was equal to or less than 8 participants, ordered by Class Title.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.