我有我想写入标准的sql select。我在Google上搜索了一些时间,但无法找到任何“不在”的东西。 我的sql查询:嵌套选择的休眠标准
select * from users where username not in(
select users.username from users right join authorities on users.username=authorities.username
where authority='ROLE_ADMIN')
非常感谢提前。 问候, 垫