I am not sure exsacaly but I think something like this might
work. You may
need to referance the MySQL docs.
SELECT P.project_id, P.title, P.projstatus, P.date,
C.company,
Case When P.live = 1 Then 'Yes'
When P.live = 0 Then 'No' End as live
FROM project P LEFT OUTER JOIN client C ON P.client =
C.username
WHERE P.dirname='#arguments.username#'
"Wally Kolcz" <wkolcz@projectproofing.com> wrote in
message
news:efp204$goc$1@forums.macromedia.com...
>I am using MySQL, but don't know how to do that in the
query.
>
> SELECT P.project_id, P.title, P.live, P.projstatus,
P.date, C.company
> FROM project P LEFT OUTER JOIN client C ON P.client =
C.username
> WHERE P.dirname='#arguments.username#'
>