oralcle sql 查询语句总是说缺失表达式,求解答,代码在下给出,在线等

2025-04-04 12:35:17
推荐回答(1个)
回答1:

SELECT S_ID id,MAX(TIME_) TIME_ FROM a

WHERE AND SF_ID ='1132'

group by SF_ID

原因,当不满足if的时候,sql后边有一个空where,报错