Reply to Re: Problem with query...

Your name:

Reply:


Posted by Stefan Rybacki on 12/30/05 00:25

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leszek wrote:
> Hi
> I have a database that has some repeatnig variables in the same column...
> Is it possible to return rows from this column one by one, but avoiding
> repeating variables? How such a query should look like? (I think about while
> loop in php)
>

You may look for SQL keywords like DISTINCT or GROUP BY.

Regards
Stefan

> I need this to make dropdown list.
>
> Thanks
> Leszek
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1rc2 (MingW32)

iD8DBQFDtGJmyeCLzp/JKjARApcNAJ4xkgy3gygtXjzNEkvX5S0IgFTASACgiMeP
MjmHKUOjPqorP+XNkoMMhEc=
=Ubfo
-----END PGP SIGNATURE-----

[Back to original 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

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