access sqlÓï¾ä±àÒ벻ͨ°¡ - ÆäËûÊý¾Ý¿â¿ª·¢ / Access
select a.Óû§±àºÅ as Óû§±àºÅ,a.Óû§Ãû³Æ as Óû§Ãû³Æ,a.ÇøÓò as ÇøÓò ,
a.µ¥¼Û as µ¥¼Û, isnull(b.±¾ÆÚÖ¸Êý,0) as ±¾ÆÚÖ¸Êý from yonghu a left join yongshui b on a.Óû§±àºÅ =b.Óû§±àÂë and not exists(select 1 from yongshui t where t.Óû§±àÂë=b.Óû§±àÂë and t.¼ÈëÈÕÆÚ>b.¼ÈëÈÕÆÚ)
´ó¼ÒºÃ°¡£¬ÉÏÃæÕâ¸öÓï¾äÔÚsqlserverÖпÉÒÔͨ¹ý£¬µ«ÔÚaccessÖоͲ»ÐУ¬ÄÇÎÒÔõôдÄܱí´ïÉÏÃŵÄÒâ˼£¬Í¬Ê±ÓÖÄÜÔÚaccessÖÐÔËÐа¡£¬
°ÝÍÐÀ²£¬¸ø·ÖµÄ£¬ºÇºÇ
2Â¥µÄ´ó¸çдµÄÒ²²»ÄܱàÒë°¡£¬ÔÚaccessÀﻹÊÇÌáʾÓï·¨´íÎó
ÄãÊÇÔÚAccess µÄʲôµØ·½²âÊԵİ¡£¿£¿£¿£¿
Ïà¹ØÎÊ´ð£º
ÎÒÓÐÒ»¸ö±í£¬½á¹¹ÊÇÕâÑù¡£
ת³ö µ¥Î» תÈ뵥λ ±ÊÊý ½ð¶î
date(Ö÷) outid(Ö÷) inid(Ö÷) num amt
2009 1 2 1 500 Ϊ 1 µ¥Î» ÔÚ2009Ä ......
ÇëÎÊ
Ìí¼ÓÐÂÊý¾ÝÔ´->Êý¾Ý¿â->Ìí¼ÓÁ¬½Ó
Õâ¸ö½çÃæÏ£¬Êý¾ÝÔ´Ñ¡Ôñ£ºMicrosoft SQL Server (SqlClient)£»
·þÎñÆ÷Ãû£º
Ó¦¸ÃдʲôÄØ£¿
ÓÐËÖªµÀ£¿¶àл¸÷λ£¡£¡
Äãµ½µ×ÊÇÒªÁ¬mysql»¹ÊÇmssql£¿
ÒýÓÃ
ÇëÎÊ
......
ÏÂÃæÊÇXML³õʼÎļþÄÚÈÝ
XML code:
<upd:Update xmlns:lar="http://schemas.microsoft.com/msus/2002/12/LogicalApplicabilityRules" xmlns:cmd="http://schemas.microsoft.com/msus/2002/12/Up ......