Solved

Database Schema Sample for Price Comparison Website

Posted on 2016-10-24
2
14 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
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…

760 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

20 Experts available now in Live!

Get 1:1 Help Now