[ODBC Microsoft Access 驱动程序] 语法错误。 在查询表达式 'id not in(select top 0 * id from tb_acti 30
Stringsql="selecttop20*fromtb_eventwhereidnotin(selecttop"+down.getPageSize()*page+"i...
String sql="select top 20 * from tb_event where id not in(select top "+down.getPageSize()*page+" id from tb_event order by id)order by id";
执行后出现错误
select top 10 * from tb_activity where id not in(select top 0 * id from tb_activity order by id)order by id
java.sql.SQLException: [Microsoft][ODBC Microsoft Access 驱动程序] 语法错误。 在查询表达式 'id not in(select top 0 * id from tb_activity order by id)' 中。 展开
执行后出现错误
select top 10 * from tb_activity where id not in(select top 0 * id from tb_activity order by id)order by id
java.sql.SQLException: [Microsoft][ODBC Microsoft Access 驱动程序] 语法错误。 在查询表达式 'id not in(select top 0 * id from tb_activity order by id)' 中。 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询