SELECTクエリーをWHERE条件で使用する例は以下のとおりです。
SELECT * FROM s1 PIVOT (SUM(sales) FOR mon IN (‘Jan’ as Jan, ‘Feb’ as Feb, ‘Mar’ as Mar))tmp where Jan=100; *** Query completed. 1 rows found. 4 columns returned. *** Total elapsed time was 1 second. Yr Jan Feb Mar ------ -------- -------- -------- 2001 100 110 120