| Article: |
More on JOINS | |
| Subject: | Join for more than one values in foreign key field. | |
| Date: | 2005-06-08 08:28:47 | |
| From: | MIGSSQL | |
|
I am trying to join two tables but the foreign key table can have exact value in all the foreign key fields or some of the foreign key fields may not as in primary key fields. I want the join condition to return the record of foreign key table, the maximum number of foreign key fields of which matches with the primary key fields. How can I do it. The foreign key fields which wont have exact values, will have star in it.
|
||
Women in Technology
Hear us Roar
