SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Need help with tables for combination based result
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

asp__developer
Posting Yak Master

108 Posts

Posted - 07/12/2013 :  13:23:49  Show Profile  Reply with Quote
I am trying to build a web page based on this configuration: http://alturl.com/he7b8

As you can see, based on selection of rows from first tab1 (bases), the other values are displayed in tab2 (poles).

Now, based on that combination of bases and poles, tab3 shows Platform and based on all combination tab4 displays docking and so no...

Right now I only created 1 table something like

ID (PK - Incremental), port#, descp, msrp, image

Now I don;t know how to go forward since I need result based on combinations...

can anyone please help me out in designing the table structure for this configuration ? How many tables I need and how I will link those tables ?

Also, in the configuration page, you can see "Recommended Solution" if you select anything. It changes as you go forward with your combination - how to implement this also ?

Edited by - asp__developer on 07/12/2013 13:57:24

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 07/13/2013 :  12:10:51  Show Profile  Reply with Quote
you need to setup foreignkey relationships between tables to filter one data based on other tables selection


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000