Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: DBI MySQL Join Question

by Jazz (Curate)
on Oct 04, 2009 at 23:54 UTC ( #799140=note: print w/ replies, xml ) Need Help??

in reply to Re: DBI MySQL Join Question
in thread DBI MySQL Join Question

When I add the GROUP BY and COUNT() clauses as you noted, I get only 2 out of 10 Image records. When I change the GROUP BY to Images.ImageID instead of imgThemes.ImageID, I get all Image returned (unduplicated), but only one result from imgThemes. I need all of the records from imgThemes which match the ImageID.

If you have time, please see the data structure I'm looking for in my reply to zwon above.

Comment on Re^2: DBI MySQL Join Question

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2015-10-04 23:55 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (105 votes), past polls