ACCESSÈ¥³ýÖظ´Öµ - ÆäËûÊý¾Ý¿â¿ª·¢ / Access
oracle ´úÂ룺
select * from (select * row_number() over ( partition by ÁªÏµºÅÂë order by ÒµÎñºÅÂë ) rn from ºÅÂë²éѯ) where rn<2
Ч¹ûÊÇ£º½« ijһָ¶¨×ֶΠɾ³ýÖظ´µÄºÅÂ룬²¢±£Áô¸ÃºÅÂëÏà¹ØµÄÆäËûÐÅÏ¢¡£
EG£º×Ö¶Î1 2 3 4 5
121 Ä㠺ŠÂ𠣿
777 Ä㠺ŠÂ𠣿
555 ÎÒ ºÅ Â𠣿
555 WO ºÅ Â𠣿
555 Ìì Ìì Ïò Èö
Ч¹û£º121 Ä㠺ŠÂ𠣿
777 Ä㠺ŠÂ𠣿
555 ÎÒ ºÅ Â𠣿
³öÏÖÖظ´µÄ×ֶα£ÁôÒ»¸öµÄЧ¹û£¨ºóÃæ×Ö¶ÎÓÐûÖظ´²»¹Ü£©¡£¡£¡£¡£¡£
ÉÏÃæÊÇ OracleµÄ´úÂë ÎÒÏëת»¯³É ACCESS ÇëÎÊ ¸Ã Ôõôд£¿£¿
select * from ºÅÂë²éѯ a
where not exists (select 1 from ºÅÂë²éѯ where ×Ö¶Î1=a.×Ö¶Î1 and ×Ö¶Î2>a.×Ö¶Î2)
ûÓÐΨһ±êʶµÄ×ֶΣ¬Ôö¼Ó×Ö¶ÎID£¬ÀàÐÍ×ÔÔö
select * from tt a
where not exists (select 1 from tt where ×Ö¶Î1=a.×Ö¶Î1 and id>a.id)
ÁªÏµºÅÂëÖ»ÊÇ×ö¸öÅÅÐò£¬ÒµÎñºÅÂëɸѡ
ÁªÏµºÅÂëÖ»ÊÇ×ö¸öÅÅÐò£¬ÒµÎñºÅÂëɸѡ
Ëæ±ã²ÂµØÄãµÄ±í½á¹¹¡£²Â´íÁ˺ÜÕý³££¬²Â¶ÔÁ˲ÅÊÇÒì³££¬Äã˵²»ÊÇÂð£¿
(²»Òª¸ß¹ÀÄãµÄººÓï±í´ïÄÜÁ¦»òÕßÎҵĺºÓïÀí½âÄÜÁ¦)
½¨ÒéÄãÁгöÄãµÄ±í½á¹¹£¬²¢Ìṩ²âÊÔÊý¾ÝÒÔ¼°»ùÓÚÕâЩ²âÊÔÊý¾ÝµÄËù¶ÔÓ¦ÕýÈ·½á¹û¡£
²Î¿¼Ò»ÏÂÕâ¸öÌù×ÓµÄÌáÎÊ·½Ê½http://topic.csdn.net/u/20091130/20/8343ee6a-417c-4c2d-9415-fa46604a00cf.html
1. ÄãµÄ create tab
Ïà¹ØÎÊ´ð£º
ÎÊÌâÊÇÕâÑùµÄ,ÏÖÔÚÓÐÒ»¸ö¹¤×ʱí,ÊÇEXCELµÄ,ÎÒÒª°ÑËüµ¼ÈëACCESS,ÒòΪ Òª²éѯÿ¸öÈ˵Ť×Ê,¸ù¾Ý²»Í¬µÄ±àºÅ¿ÉÒÔ²éѯµ½Ïà¶ÔµÄÈË,
ÓÃASP Ôõô½«EXCELµ¼Èëµ½ACCESS,¶øÇÒÿÔ¶¼Óв»Í¬µÄ±í,
ÒýÓÃ
Æäʵ¾ÍÊÇ°ÑEXCELµ±³ÉÊý ......
¸÷λ¸ßÊֺã¬Âé·³°ïÎÒ¿´ÏÂÕâ¸öÊý¾Ý¿âÁ¬½ÓÎÊÌ⣺
×öÁËÒ»¸öBBSµ«ÊÇÊý¾Ý¿â¾ÍÊÇÁ¬½Ó²»ÉÏ¡£´íÎó´úÂëÈçÏÂ
HTTP Status 500 -
------------------------------------------------------------------------------- ......
ÈçÌâ dOOdads Á¬½Ó ACCESS µÄÊý¾Ý·ÖÒ³ÎÊÌ⣡
ʹÓà dOOdads Á¬½Ó ACCESSÊý¾ÝµÄʱºò Êý¾Ý·ÖÒ³µÄÎÊÌ⣡
¸ù¾ÝÕâ¸ö¸Ä°É
C# code:
public static Product[] SearchProducts(string keyword, int categoryID, int pa ......
¾ÍÊÇÊÇ·ñÖ§³Ö¶à¸öÁ¬½ÓµÄ²Ù×÷£¿ÔÚÒ»¸ö³ÌÐòÁ¬½ÓÕâ¸öÊý¾Ý¿âʱ£¬ÁíÒ»¸ö³ÌÐò»¹ÄÜÔÙÁ¬½ÓÕâ¸öÊý¾Ý¿âÂð£¿
×î¶àÖ§³Ö¶àÉÙ²¢·¢Á¬½Ó£¿
Ö§³Ö¡£
http://msdn.microsoft.com/en-us/library/ms810829.aspx
×î¶àÖ§³Ö¶àÉÙ²¢· ......
ÎÒÔÚVC++ÀﶨÒåÁ˼¸¸öÈ«¾Ö±äÁ¿£¬¾¹ýһϵÁеļÆËãÖ®ºó£¬½«ÕâЩȫ¾Ö±äÁ¿µÄÖµ´æµ½ACCESS¶ÔÓ¦µÄ×Ö¶ÎÏÂÃæ¡£²»Öª¸ÃÈçºÎʵÏÖ¡£Õ⼸¸ö±äÁ¿ÓÐSTRING£¬Ò²ÓÐDOUBLEÀàÐ͵ġ£¸ÃACCESS²»ÓëÈκζԻ°¿òÓбäÁ¿Êý¾Ý´«µÝµÄÁªÏµ£¬½ö ......