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]
|