You are here: Re: LEFT JOIN on very large tables « PHP Programming Language « IT news, forums, messages
Re: LEFT JOIN on very large tables

Posted by Ewoud Dronkert on 05/25/05 14:54

On Wed, 25 May 2005 12:52:08 +0100, StealthBananaT wrote:
>>> My database has two tables - films has 10,000 records and reviews has 20,000 records.
>>> SELECT films.*, COUNT(reviews.id)
>
> The code definitely works - I've tried it with fewer records.

Try restricting the number of fields you select from films to just the
title, for example.


--
Firefox Web Browser - Rediscover the web - http://getffox.com/
Thunderbird E-mail and Newsgroups - http://gettbird.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация