ACCESS Êý¾Ý²éѯÎÊÌâ ÔÚÏßµÈ - Web ¿ª·¢ / ASP
ÏÂÃæÊÇÊý¾Ý
ID Money PID
1 50
2 40 1
3 30 1
4 10 1
5 70 1
6 50 2
7 50 1
8 20 1
9 10 3
ID ΪÓû§
Money ΪÓû§½ð¶î
PID ΪIDÓû§ÍƼö
Òª²éѯ PID ±àºÅ 1 , MoneyÖµ´óÓÚ 80ºóµÄ ID ±àºÅ
¼òµ¥ËµµÄ¾ÍÊÇ ÔÚPID Àï²éѯΪ1µÄÓû§£¬ËûÃǵÄMoney¼ÓÒ»Æðºó´óÓÚ»òµÈÓÚ80£¬È»ºóÇóÏÂÃæµÄÄǸöIDÖµ¡£
ÕýÈ·½á¹ûÓ¦¸ÃÊÇ ID5
ÇëÎʲéѯÓï¾ä¸ÃÔõôдÄØ£¿
¸ßÊÖÇëÖ¸½Ì
HTML code:
<%
Dim sql,val
sql="select * from tablename where PID=1 order by [ID]"
Set rs=conn.execute(sql)
val=0
Do While Not rs.eof And val<80
val=val+rs("Money")
rs.movenext
Loop
If val>=80 And Not rs.eof Then
response.write rs("ID")
Else
response.write "×ܼ۲»µ½80»òÕß³¬¹ý80ºóûÓÐÏÂÒ»¸öÁË"
End If
%>
SQL code:
select first(Id)
from tbl as a
where dsum("M
Ïà¹ØÎÊ´ð£º
ÎÒ½«Ò»¶Î4000À´×ÖµÄÎı¾¸³Öµ¸øËüÔõô¾Í³ö´íÁË,ÌáʾÔËÐÐʱ´íÎó2176 Õâ¸öÊôÐÔµÄÉèÖÃֵ̫³¤?
ÄãÊÇÔõÑù¸³ÖµµÄ£¿
²âÊÔÁËһϣ¬Óñ¸×¢×ֶθøÎı¾¿ò×öÊý¾ÝÔ´£¬Ã»ÓÐÌáʾÉèÖÃֵ̫³¤,14893×Ö·û
ÒýÓÃÎÒ½«Ò»¶Î4000À´×ÖµÄÎ ......
ÎÊÌ⣱
ÎÒÓÃADOÁ¬½ÓÉèÁËÓû§ÃûÃÜÂëµÄÊý¾Ý¿â
µ«ÊÇÎÒ·¢ÏÖÎÒ²»ÊäÈë Óû§ÃûºÍÃÜÂë ¶¼¿ÉÒÔÁ¬½Ó³É¹¦ ¶øÇÒ»¹ÄÜ°ÑÊý¾Ý¶Á³öÀ´
¼ôÁËÒ»¸öÃûΪtestÊý¾Ý¿â ½¨ÁËÒ»¸öÃûΪpeopleµÄ±í
¼ûÁËÒ»¸ö Óû§Ãû1234 ÃÜÂë1234 µÄ ......
ÓÐÒ»¸öÊý¾Ý¿âÀïÖ»ÓÐ2WÌõÊý¾Ý²»µ½£¬È´ÓÐ500MÄÇô´ó,Ôõô»ØÊ°¡£¿ÊÇACCESSµÄÊý¾Ý¿â¡£ºóÀ´ÎÒ°ÑACCESSµ¼Èëµ½MSSQLÖУ¬Ò²Õ¼ÓÃÁË500M×óÓҵĿռ䣬Èç¹ûѹËõÊý¾Ý¿âÄØ£¿Çë¸ßÊÖÖ¸µã
ѹËõÊý¾Ý¿â£¿ÄÜ×öµ½Ã´...
ÆÚ´ý¸ßÈËÖ¸µã ÎÒ ......
ÇëÎÊÓÐÈËÖªµÀÈçºÎÔÚkernel mode ÏÂд64 bit driver, ¿ÉÒÔ½«IO bitmap ´ò¿ª£¬
32bit¿ÉÒÔÓÃKe386SetIoAccessMapºÍKe386IoSetAccessProcess£¬
Çë問64 bit driverÓÐÀàËƵÄfunctionaÂð?
ûŪ¹ý¡£
GoogleµÄ£ºhtt ......