<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 05:30:10 +0000</lastBuildDate>
    <item>
      <title>(MySQL) Number of records in one table of a type from another table. - jbranca</title>
      <link>https://snipplr.com/view/40248/number-of-records-in-one-table-of-a-type-from-another-table</link>
      <description>&lt;p&gt;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).&lt;/p&gt;</description>
      <pubDate>Fri, 10 Sep 2010 06:09:16 UTC</pubDate>
      <guid>https://snipplr.com/view/40248/number-of-records-in-one-table-of-a-type-from-another-table</guid>
    </item>
  </channel>
</rss>
