Given table A and table B. Table A is a master table and table B is a list of authority or reference which is fed by selecting records from table A (via an UI I wrote in PHP).
The interface is working fine but I am left with one problem. If I need to edit my table of authority, the source table (table A) should return ONLY entries not previously selected.
That said, if the A.key is in B.key, records from table A matching B.key should be omitted.
I could do this by looping through the query results from table A and querying table B, if no match, show A.key. This I think is a bit antiquated and possibly too involved.
Is there a joint query command I can use?
Thanks,
Jose
The interface is working fine but I am left with one problem. If I need to edit my table of authority, the source table (table A) should return ONLY entries not previously selected.
That said, if the A.key is in B.key, records from table A matching B.key should be omitted.
I could do this by looping through the query results from table A and querying table B, if no match, show A.key. This I think is a bit antiquated and possibly too involved.
Is there a joint query command I can use?
Thanks,
Jose