求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' 关于wordpress跟mediawiki的同步登陆和注销问题。。请高手帮忙 SWFUpload如何在选文件前添加自定义的需要上传的文件列表 用calss封装个类,怎么不能读取数据库,求救 谁知道VOB格式出入网页的代码…… 请大哥们帮我把这小段代码改成ASP的吧,多谢 见识决定了你的PHP技术有多深! php里用花括号来表示变量,怎么做到的 想学习DEDECMS,求大神给个视频连接 消息不定时发送的问题。。。。 为什么 phpwrod 不能读取word文档里面的内容 请问paypal是不是更新了 我的程式在结帐后出现错误 在线等 行列输出
select * from student,sgrade where student.postID=sgrade.postID and student.major=‘$majo’
记得结贴