Suppose in a situation if two list boxes are there and if
you select multiple options based on that the options
related to those selected items should display in second
list box.
Again if we select multiple items in second listbox then the
related to those selected items should display .
In this scenario how will you design database,tables?
Answer / pawan k. dubey
e.g. create two table
1-department(dept_id int PK,dept_name)
2-employee(emp_id int Primary key,Name varchar(40),dept_id
FK)
now create two listbox employee and department.
step1-when multiple departments are selected...dispaly
employee related to selected department in employee listbox
step2-when multiple employees are selected...dispaly
respective department in department listbox
Is This Answer Correct ? | 1 Yes | 1 No |
how many triggers you can have on a table? : Sql server database administration
How to test odbc dsn connection settings?
What are cursors stored procedures and triggers?
Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you
What is an index in a database?
Why normalization is used?
how many type of indexing in database?
What is attribute relationships, why we need it? : sql server analysis services, ssas
What are the differences between user defined functions and stored procedures?
How to use group functions in the select clause in ms sql server?
Is oracle faster than sql server?
What is the difference between nvl and nvl2?