Link to home
Start Free TrialLog in
Avatar of pmac38CDS
pmac38CDS

asked on

Question regarding Database Design

I have two tables a UserInfo table that stores user specific information and a TransactionResponse table that holds the transaction response information. Both these tables have a requestID that is common to both tables. What would be the most optimum way to design the said database.

Thanks,
Aditya
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Is the requestID the primary unique value for either table?
Is the requestID the primary unique value for any other table in the database?
Avatar of pmac38CDS
pmac38CDS

ASKER

No it is not a primary key for any of the tables.
Are you likely to be querying the database tables using the RequestId in the where clause?
ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That is exactly what I was thinking. Having a mapping table that would link the two tables. Thanks for your help.