Click here to Skip to main content
15,887,956 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hello All,

Can any body can explain about normalisation.and how to connect two table .one is primary key with role id ,menuid.other table have menu id and sub menu id.I made 2nd table menu id foreign key.how can i map multiple sub menu from that table.

Regards
scp
Posted
Updated 27-May-11 20:19pm
v2

1 solution

Normalization is the process of reorganizing data to reduce redundancy. See here[^] for more details on Normalization.

What you are trying to do here is actually a JOIN. You are joining two tables (with menuid acting as the foerign key).
For eg, to get multiple submenus for menu id 4, your query will look like
select * from A, B where A.menuid = B.menuid and menuod = 4
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900