Topic awaiting preservation: Mysql query with select from multiple tables (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
posted 01-26-2006 16:31
Okey, I have a small forum that I've written. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 01-26-2006 18:23
You don't need a sub query for this. code: select users.*, records.* WHERE records.userId = users.userID AND records.recordId = 234
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 01-26-2006 18:28
I don't think you need a subquery for this those are generally used in things like where statements. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 01-26-2006 18:29
or what he said (let this sit for a sec before hitting post and he beats me to it) |