2017-07-13 58 views

回答

2

case & where没有一起工作,你可以按照下面的使用..

WHERE (due = lastdue and paidamt - dueamt > 1) 
    OR (due <> lastdue and paidamt - (dueamt + nxtduedt) > 1) 
相关问题