运行此代码时:
note = noteDAO.queryForFirst(
noteDAO.queryBuilder().where().notIn("id",
noteStateDAO.queryBuilder().distinct().selectColumns("noteId")
.prepare())
.prepare());
...我有以下例外:
Problems executing Android query: SELECT * FROM `notes` WHERE `id` NOT IN
(MappedStatement: SELECT DISTINCT `noteId` FROM `note_states`)
MappedStatement
对那个 SQL中的内容有什么想法吗?