Topic awaiting preservation: SQL query for two tables (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
posted 05-26-2006 17:50
Here is what I have for the database :
owner created
fullname
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 05-26-2006 17:58
Select users.fullname from users where tasks.owner = users.id AND (other logic to get the right user) |
Maniac (V) Inmate From: there...no..there..... |
posted 05-26-2006 18:05
thanks bit, but I was actually doing about that same thing and your's and mine gave this error : quote:
|
Lunatic (VI) Inmate From: under the bed |
posted 05-26-2006 18:31 |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 05-26-2006 18:38
oh I did miss somethnig |
Maniac (V) Inmate From: there...no..there..... |
posted 05-26-2006 19:39
ah...that did the trick. Much appreciated guys! |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 05-27-2006 13:56
the concept in question is known as a mysql->join by the way |