sql语句:select sc.user_id,sc.problem_id,sc.shuliang,sa.shuliang from `sol_count` sc inner join `sol_acc` sa on sc.user_id= sa.user_id and sc.`problem_id`=sa.`problem_id` where sc.`user_id`=2;
这是我自己写的:select sc.id.userId,sc.id.problemId,sc.id.shuliang,sa.id.shuliang from SolCount sc inner join SolAcc sa on sc.id.userId = sa.id.userId and sc.id.problemId = sa.id.problemId  where sc.id.userId=?但是报了个500
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: onsqljoinhql