Solved

Database Schema Sample for Price Comparison Website

Posted on 2016-10-24
2
25 Views
Last Modified: 2016-11-12
Hi,

I am try to conceptualize database schema that will be used for website to show different products with price from multiple retailers.

Can you please show me sample schema how to support multiple prices/attributes for single product for multiple retailers?

Thanks a lot.
0
Comment
Question by:Imran Ali
2 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points (awarded by participants)
ID: 41857619
basic structure would look something like this, fill in other attributes and assign data types according to the platform.

retailer (retailer_id number, retailer_name text, other attributes);

product(product_id number, product_name text, other attributes);

retailer_product(retailer_id number,product_id number, price number, other attributes);

FK between retailer_product and retailer and product tables.
1

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL QUERY to Table question 32 84
null value 15 94
Problems using Provider=OraOLEDB.Oracle via VBScript/Classic ASP 5 47
Unrecognized Database Format 8 93
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now