简体   繁体   中英

how to create tables in relationships

数据库设计

Problem : In above UI pic for my application when i select build in Team the Category should show items related only to build , the same way when i select Acquire in Category only items related to acquire should show up in Sub - Category.

I have to populate these UI elements from a SQL DB .

I dont know how to relate this and create tables.

I know bit of DB basic but design is new to me .

Table Team, Field tName

Table Category, Field tName, catName

Table Sub, Field catname, Subname

when you select team, set 'where' for Category and requery

when you select Category, set 'where' for Sub and requery.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM