1 SELECT COUNT(1) FROM (SELECT a.id AS "id", a.district AS "district", a.company AS "company", a.type AS "type", a.cargo AS "cargo", a.goods AS "goods", a.weight AS "weight", a.status A…
java.sql.SQLSyntaxErrorException: ORA-00904: "column": 标识符无效 首先查看无效的列是不是orcale关键字 , 如果不是 , 查看与column字段相关的所有内容 , 引用是否正确 尽量不要用select 中的字段别名当做 where 或者 order by 等的条件 应该使用表的别名或者表名作为标识 , 避免歧义 select user_id as id ,name as na from table tb where tb.n…