有两张表PlayInfo表,和StudentInfo表
PlayInfo表的结构是
Studentid Play
1001,1002,1003 数学
1001,1004 语文
1002,1003 外语
StudentInfo表结构如下
Studentid Studentname
1001 小明
1002 小刚
1003 小涛
1004 小波
现在要查询出的结果为
Studentid Play
小明,小刚,小涛 数学
小明,小波 语文
小刚,小涛 外语
请问怎么实现啊??
PlayInfo表的结构是
Studentid Play
1001,1002,1003 数学
1001,1004 语文
1002,1003 外语
StudentInfo表结构如下
Studentid Studentname
1001 小明
1002 小刚
1003 小涛
1004 小波
现在要查询出的结果为
Studentid Play
小明,小刚,小涛 数学
小明,小波 语文
小刚,小涛 外语
请问怎么实现啊??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货