以下是sql语句
select * from
(select * from t_sealapply where
user_id =#{userId}
) as t where status != '2'
请问有什么办法可以解决这个问题
以下是sql语句
select * from
(select * from t_sealapply where
user_id =#{userId}
) as t where status != '2'
请问有什么办法可以解决这个问题
为什么要用子查询 这样查不就是和你这个写法一样么 select * from t_sealapply user_id=#{userId} and ststus!='2'