[thelist] MySQL

Andrew Baio andy at kickmedia.com
Mon Dec 18 10:35:50 CST 2000

At 08:04 AM 12/18/00, you wrote:
>I need to select some rows from MySQL database with each row having a unique
>value in the column 'aeg'.

      Use the DISTINCT keyword, like so:

      "SELECT DISTINCT aeg FROM tablename;"

                                   -- Andy.

More information about the thelist mailing list