ワンカウント条件の場合に動作させる方法を知っています。複数の条件で機能させるにはどうすればよいですか?
SELECT count(TableName.DeviceName where DeviceName like 'AR%' ) as DEVICE_Type_A,
count(TableName.DeviceName where DeviceName like 'R%' ) as DEVICE_Type_B,
count(TableName.DeviceName where DeviceName like 'P%' ) as DEVICE_Type_C,
count(TableName.DeviceName where DeviceName like 'AM%' ) as DEVICE_Type_D,
FROM DB.TableName TableName
WHERE TableName.DURATIONMIN > '180'