求个MySQL的SQL语句,请各位大老帮忙. 你的t1表和t2表怎么关联?proid表示的是什么?1表示物件1 ? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from t1 LEFT JOIN t2 ON t1.id=t2.proid WHERE t2.item='属性3' select * from t1 LEFT JOIN t2 ON t1.id=t2.proid WHERE t2.item='属性3' 如果是proid表示的是t1的id的话select t1.id,t1.name,t1.price,t2.id,t2.proid,t2.item from t1 ,t2 where t2.item="属性3" and t2.proid=t1.id; select t1.id,t1.name,t1.price,t2.id,t2.proid,t2.item from t1 ,t2 where t2.item="属性3" and t2.proid=t1.id; 这是不是,就是所说的联合查询啊,left join union呵呵,新手学习,up~~~ select t1.id,t1.name,t1.price,t2.id,t2.proid,t2.item from t1,t2 where t1.id=t2.proid and t2.item="属性3"; 表单传送问题(form post problem) 为什么有些网站可以用IP来访问,有些网站不行的呢? apache显示运行正常 但是PHP不能解析 PHP开发的不错的OA在线办公系统,快去下载吧 刚搜集到的 HTML Javascript 控件集 做得非常好 大数据量也没有问题 包含 可编辑表格 Tree可动态拖放 页签 Tab Control 动态 select 大家有没有考虑去做手机编程? 文件目录的问题 很简单的问题,快回复 老孟,进来!你的代码怎么用呀? php时区问题 ◆◆菜鸟问题:PHP中用本地化日期的问题◆◆在线等 请问怎么用php实现server push?
where t2.item="属性3" and t2.proid=t1.id;
where t2.item="属性3" and t2.proid=t1.id;
呵呵,新手学习,up~~~
where t1.id=t2.proid and t2.item="属性3";