If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Database Design Help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-17-06, 18:00
shola0080 shola0080 is offline
Registered User
 
Join Date: Jul 2006
Posts: 2
Database Design Help

Hello,

I need to create an inventory website for different system groups, I'm having difficulty with possible duplicate information for each table/group. I have 3 table I need to connect.Such as version #. I need to connect the hardware to a particular software which can also be used in another group.

Table 1:
Code:
GroupID	Name	Purpose	   contact     Email   	Phone Number
SLAB	System	Test	    Jon	      Johl@IKNOW	612-245-1111
Elab	Elab	Dev.           Phil	     Phi@UKNOW	475-124-1111
Table2:
Code:
hardwareId group	Asset	 Quantity Manufacturer   Type       Version
1	Elab     xSeries 326    2	    IBM	        Server      326 
2	Slab    BladeCenter    1	    IBM	        Chassis     H
3	Slab    LS20 Blades    8	    IBM	       Server       L20
Table3:
Code:
SoftwareID Group Assest Quantity  Manufacturer      Operat.System    Version

Last edited by loquin; 07-18-06 at 12:14. Reason: add [code] [/code] tags for readability.
Reply With Quote
  #2 (permalink)  
Old 07-18-06, 12:17
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,797
It appears that you need to define a many-to-many relationship between the hardware and the software.

A many-to-many relationship is created by defining an intersection table.

For starters, I would suggest that you review the first two posts in this tutorial.
__________________
Lou
使大吃一惊
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert


Last edited by loquin; 07-18-06 at 12:25.
Reply With Quote
  #3 (permalink)  
Old 07-18-06, 14:15
shola0080 shola0080 is offline
Registered User
 
Join Date: Jul 2006
Posts: 2
Post thanks

Thank you.
I'll try that!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On