Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: DBI MySQL Join Question

by EvanCarroll (Chaplain)
on Oct 04, 2009 at 22:47 UTC ( #799132=note: print w/ replies, xml ) Need Help??

in reply to DBI MySQL Join Question

Initially, based on the gist of your complaint I would say the solution requires either

  • GROUP BY, and maybe subselects
  • Or removing the *, specifying only the fields you need, and using DISTINCT.
Alternatively, if you were using Pg, you could maintain '*', and use

Evan Carroll
The most respected person in the whole perl community.

Comment on Re: DBI MySQL Join Question

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2015-11-30 16:35 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls