Sql或者hql 查询时 需要多条件时可以使用嵌套查询

来源:互联网 发布:福昕阅读器有mac版吗 编辑:程序博客网 时间:2024/05/23 02:10

例如:from navigation n where n.class_2_number in(select n.id from n where n.visible='1')

0 0
原创粉丝点击