Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Database Design

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-16-2009, 02:19 PM
zagorette zagorette is offline Windows XP Access 2007 (version 12.0)
Novice
 
Join Date: Jun 2009
Posts: 1
zagorette is on a distinguished road
Default Pizza store database help!

I'm creating a database for a Pizza store as a exercise for school, and am struggling with creating the tables, and what to put in them.

I'm supposed to design a database and focus on the order entry and delivery aspect, the orders can have multiple toppigs per pizza, different prices for different toppings, multiple pizzas per order, and include other non pizza items (such as soda, fries, etc).

I'm thinking of the following tables:

tbl_customer - customer id, name, address, city, state, zip, phone, etc
tbl_order - order id, customer id, order date
tbl_orders_details - ???
tbl_menu - ???
tbl_toppings - ???

but i'm not too sure what they should include.

help?!?!
Reply With Quote
  #2  
Old 06-16-2009, 07:01 PM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,264
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

It sounds like you are on the right track. Keep going and post back when you get stumped. You are not stumped yet. Keep expanding on your ideas and flesh out the tables with more fields and then try and place an order in your head and see what happens.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #3  
Old 06-30-2009, 08:47 AM
nwalke nwalke is offline Windows XP Access 2007 (version 12.0)
Novice
 
Join Date: Jun 2009
Posts: 4
nwalke is on a distinguished road
Default

I don't think the order details table is a good idea. Just include a field in tbl_order for any details or specific instructions. The menu and toppings tables are both good. You won't need to call the toppings table unless it is a pizza, obviously. If you're unsure what tbl_menu should have in it, I think it should have every base variation of pizza (like large thick crust, small thin crust), and then those extra things you mentioned like different kinds of pop and fries. Do you have to build an interface?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to store user-defined types in table? Binky Programming 0 11-20-2008 11:28 AM
How to store the Field value at query to table?? Maxzs Queries 0 09-25-2006 01:42 AM


All times are GMT -8. The time now is 03:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.