Multiple foreign key reference in a single field
I need to have a foreign key field that should refer from two tables. for an example,
1 a_id primary key,
1 b_id primary key,
3 key_id (i.e, it should be foreign key from either table_a or table_b. it may have value of either table_a's id or table_b's id
Can any one of u help me to get this script to create table.
Please login to leave a reply, or register at first.