Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: 2 mysql selects in one statement

by sulfericacid (Deacon)
on Dec 12, 2006 at 16:33 UTC ( #589319=note: print w/ replies, xml ) Need Help??

in reply to Re: 2 mysql selects in one statement
in thread 2 mysql selects in one statement

I'm not exactly sure JOIN is the way to go. I'd use

SELECT, db1.age,, db2.height, db2.weight, +ize FROM db1, dbi WHERE = AND other="test"

"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"


Comment on Re^2: 2 mysql selects in one statement
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589319]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-07-30 02:34 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (269 votes), past polls