Presentation is loading. Please wait.

Presentation is loading. Please wait.

+ A Little Database: LS 560 Assignment 3 Emily Bibb and Belinda Sawyer.

Similar presentations


Presentation on theme: "+ A Little Database: LS 560 Assignment 3 Emily Bibb and Belinda Sawyer."— Presentation transcript:

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.


Download ppt "+ A Little Database: LS 560 Assignment 3 Emily Bibb and Belinda Sawyer."

Similar presentations


Ads by Google