Jump to content

result of 3 tablesusing IN()


timmy01

Recommended Posts

Hi!

I am having trouble to get some information
from table3 along with 2 other tables.

In total i am taling about tables 3...
this is the query i use:
<?
SELECT table1.var1, table2.var2
FROM table1, table2
WHERE table2.var2=table1.var2
AND table2.land='nl'
GROUP BY var1";
?>

With this i do get a list of results (var1)
the next step is to bring them back into
table3 and get the final results in a
good ORDER BY DESC.

so table 3 is still missing

My intentions is to put every result back into
table3, in the same query using IN()...

but i dont know how :-S

cheerz
Tim
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.