hi,

i have the following table

username | permission

admin         | view
testuser     |  view
user2          | write
admin        |  write
admin        | change
...                 |  ...

i want to select all the permissions from admin. the normal query will
output the following:

admin - view
admin - write
admin - change

but i want this output:

admin - view
                write
                change

know what i mean? dont show the dupplets in the column username. is there a
way to solve this in sql?

greets

bastian


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to