<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021586" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021586</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/selecting-multiple-tables-have-popular-items-table#comment-1133024</link>
    <description> &lt;p&gt;Okay, guess I&#039;ll rewrite them. I&#039;ve been thinking about doing it, but it&#039;s been in the back of my mind.&lt;/p&gt;
 </description>
     <pubDate>Sat, 14 Jun 2003 03:20:05 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1133024 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/selecting-multiple-tables-have-popular-items-table#comment-1133023</link>
    <description> &lt;p&gt;You still need to have a way that the tables link together, generally known as foreign key. It looks like you need to rewrite your tables. You could put most of your info into one table, then split out a separate table for ratings and include a ratings_id in the first table that links to the ratings table. Probably would also have a table for authors. Then you could do a pretty easy select. &lt;/p&gt;
&lt;p&gt;Keep in mind that one of the main goals of a database (besides a place to store your stuff) is to avoid redundant data.&lt;/p&gt;
 </description>
     <pubDate>Sat, 14 Jun 2003 02:45:03 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1133023 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/selecting-multiple-tables-have-popular-items-table#comment-1133009</link>
    <description> &lt;p&gt;But then I&#039;d have to do massive (I think) ammounts of PHP to get it to do what I want. I want only 10 from all 3 tables, a max of 10, not 30.&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Jun 2003 23:29:44 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1133009 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/selecting-multiple-tables-have-popular-items-table#comment-1133004</link>
    <description> &lt;p&gt;joined select will work when data on your tables are link together for exemple if you have a table for artist and a table for songs then you could get the top ten songs of the top ten artist. Now i might be wrong but i don&#039;t think there is a rellation between your tables so you have to do three querys to get the result you want here is the first one the others will be similar.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;SELECT * FROM af_tabs ORDER BY views DESCENDING LIMIT 0,10&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Fri, 13 Jun 2003 22:17:03 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1133004 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
