且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SQLException:没有这样的列

更新时间:2023-12-01 22:33:22

我不太确定,但是我认为,如果从From中删除括号,它应该可以工作: select * from person as p inner join company as c on p.p_id=c.p_id
inner join contact as ct on p.p_id=ct.p_id where p.p_id=?;

I'm not absolutely sure, but I think it should work if you remove brackets from From : select * from person as p inner join company as c on p.p_id=c.p_id
inner join contact as ct on p.p_id=ct.p_id where p.p_id=?;