求SQL语句 成绩表中有postID(学号),course(课程名),sgrade(成绩),学生信息表中有postID,major(班级),现将要把成绩表中的学号按某班级输出,请问怎么写啊,select * from student,sgrade where student.major=‘$majo’r.这个语句输出时候有重复,请问应该如何修改呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 改成: select * from student,sgrade where student.postID=sgrade.postID and student.major=‘$majo’记得结贴 select * from student,sgrade where student.postID=sgrade.postID and student.major=‘$major’//少些了一个r select * from student,sgrade where student.postID=sgrade.postID and student.major='$major' 我刚来的所以没有分!抱歉!难题。。帮帮我 discuz 6.1和ucenter 1.5与java应用整合,如何同步注册不用激活。 PHP has encountered an Access Violation at 0230E286 wordpress安装一片空白 遇到能力 需要高手帮忙 myeclipse10.1下部署tomcat7失败 微信公众平台自定义菜单一直错误求助 为什么这个页面点“提交”没反应呢? 求大神解答 php 5.2 和php 5.3的区别 请问paypal是不是更新了 我的程式在结帐后出现错误 在线等 行列输出
select * from student,sgrade where student.postID=sgrade.postID and student.major=‘$majo’
记得结贴