SELECT A11003.帐号, A11003.名称, A11003.借方余额, A11003.借方积数, A11003.贷方余额, A11003.贷方积数, A11003.币种, DCount("[帐号]","[A11003]","[帐号]<='" & [帐号] & "' and Mid([帐号],9,2)='29'") AS 序号
FROM A11003
WHERE (((Mid([A11003]![帐号],9,2))="29"))
ORDER BY A11003.币种;