Cross Tab Help

From: kou vang <>
Date: Fri, 11 Dec 2009 07:20:45 -0800 (PST)
Message-ID: <>

I can get this query to put the dataset together, but would love to get it into a cross tab. I don't know how to work with multiple CASE statements to do this? I want the columns to be the CASE results: Aquatic C, Aquatic R, Other and the Value to be ATTAINMENT_Desc. I think I'm pretty close. Thanks.


 WHEN 523 THEN 'Aquatic Consumption'
 WHEN 552 THEN 'Aquatic Consumption'
 WHEN 555 THEN 'Aquatic Consumption'
 WHEN 565 THEN 'Aquatic Consumption'
 WHEN 553 THEN 'Aquatic Recreation'
 WHEN 556 THEN 'Aquatic Recreation'
 WHEN 566 THEN 'Aquatic Recreation'

 ELSE 'Other'
END) AS ATT_DESC Kou Received on Fri Dec 11 2009 - 09:20:45 CST

Original text of this message