写Hql语句,实现多表查询 HQL针对的是实体对象,而不是表! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 和普通的查询时一样的select a.* from A a ,B b where a.id = b.aid and a.............注意大小写吧 A表 B表pass pass aidselect a from A as a join B as b where a.aid=b.aid and a.pass='OK' and b.pass not in('OK','PLEASE') 在网页面上我如何我获取服务器(Tomcat7.0)上的图片?我是刚学的,我就是弄不出来,希望大家能帮助我,谢谢! JavaMail并发发送邮件的假死问题 jquery+ajax+json+struts集成的小问题 求助,Hibernate 中查询问题 用JDBC连接SQL Server2005时出现以下异常: SQL Server 登录需要 SSL 连接。 怎么登陆不了?请赐教! 关于连接池的问题 装一个weblogic要800M空间吗? 对JAVA的一切都是不清楚 java里怎么搭jQuery moblie框架 SSH项目中数据的问题 谁有多余的QQ号 批量给我点~!!!
select a.* from A a ,B b where a.id = b.aid and a.............
注意大小写吧
pass pass aid
select a from A as a join B as b
where a.aid=b.aid and a.pass='OK' and b.pass not in('OK','PLEASE')