Profile
Achievement
jbranca's Recent SnippetsTagged mysql
- All /
« Prev 1 Next »
You have two tables galleries and images, and you need to know how many images each gallery has associated with it. This Query returns the sum of distinct record joined to another table by a common field (gallery_id).
0
999
posted 14 years ago by jbranca