I have the following query:
Select
Count(Distinct Case When Play.Uuid Like ('i~%') Then Tap.Player_Id End) As Tapjoy_Ios
From
Player_Tapjoy Tap
Inner Join
Player Play
On
Tap.Player_Id = Play.Player_Id
Where
Trunc(Tap.Create_Dtime) >= To_Date('2012-Jan-01','yyyy-mon-dd')
我想添加另一個像約束,以便結果出來play.uuid like('i〜%'或'ti〜%' )..但這似乎並不奏效。我怎麼能實現這個?SQL Oracle - 想要在案件中添加另一個「like」條件