**** SQL写法求解(某客户最后业务日期的记录)?**** select 客户号,max(业务日期),(select top 1 业务员 from table b where b.客户号 = a.客户号 order by 业务日期 desc )from table agroup by 客户号 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 TO: windindance(风舞轻扬) 我现在只有一个表啊,你SQL中的table a和table b是指什么,我只看懂了一半~ 再次求教~ select 客户号,max(业务日期),(select top 1 业务员 from table b where b.客户号 = a.客户号 order by 业务日期 desc )from table agroup by 客户号//b 是别名,table是表名 select 客户号,max(业务日期),(select top 1 业务员 from table b where b.客户号 = a.客户号 order by 业务日期 desc )from table agroup by 客户号//a和b 是别名,table是表名 delphi开发webservice问题 delphi 向word文档写数据时,word文档会闪烁,如何通过代码控制使其不闪烁?? DbChart多个Y轴 因为95生了个孩子所以给96分 零件厂DELPHI上半年损失超过两兆美元 TComboBox控件的Text属性为何不好用? 有谁知道有哪些游戏是用DELPHI做的啊? 救命阿 怎样动态创建 clientsocket和serversocket组件 怎样动态建立一个表…………SOS…………99…… 关于数字通信的一个问题,请大家帮个忙!时间紧迫! 哪里有psapi的资料下载啊 一个小问题
(select top 1 业务员 from table b where b.客户号 = a.客户号 order by 业务日期 desc )
from table a
group by 客户号
//b 是别名,table是表名
(select top 1 业务员 from table b where b.客户号 = a.客户号 order by 业务日期 desc )
from table a
group by 客户号
//a和b 是别名,table是表名