我的查询是
Select
NO,
Timestamp,
Event_type,
Comments
From TableA
Where NO = '12345';
但是对于Event_type
,我只想选择 when event_type in ('ABC_XYZ','Comment_Change'
)
并且Comments
字段必须像Cause:%
(when event_type = 'Comment_change'
)
我怎样才能达到这个条件?