只需一步,快速开始
使用道具 举报
以下是引用ADAM在2003-11-13 11:29:51的发言: 看到過別從做過,通過子查詢實現..., 這是我照著試做的例子, 把表名與字段改成你的,再試試看... SELECT AA.C, AA.B, (SELECT Count(AA.C) AS C之筆數1 FROM AA where aa.c<=aa_1.c) AS cc FROM AA INNER JOIN AA AS AA_1 ON AA.C = AA_1.C;
本版积分规则 发表回复 回帖后跳转到最后一页
|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )
GMT+8, 2024-11-15 20:50 , Processed in 0.083267 second(s), 27 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.