You are here: Re: Mysql question « PHP Programming Language « IT news, forums, messages
Re: Mysql question

Posted by Bob Bedford on 05/23/05 12:32

"Alvaro G Vicario" <alvaro_QUITAR_REMOVE@telecomputeronline.com> a écrit
dans le message de news: 13bwff5w9iibj.7kybkobyuwzy$.dlg@40tude.net...
> *** Bob Bedford wrote/escribió (Mon, 23 May 2005 09:44:28 +0200):
>> id datefrom dateto
>>
>> In my case, I'd like to show the last date for any ID.
>
> Then you don't need datefrom and dateto but MAX(datefrom) and MAX(dateto)

MAX needs to group by, and having 20 fields in my query, should I group by
all fields ? Also this field may be empty sometimes.

Isn't there any other solution ?

 

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

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