Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : sql

Accessͨ¹ýSqlÓï¾ä´´½¨Êý¾Ý¿â - .NET¼¼Êõ / C#

ÔÚAccessµÄ²éѯÖÐÖ´ÐÐÏÂÃæµÄÓï¾ä,ÎÞЧ,ÌáʾÆÚ´ýselect ,updata ,...
CreateTble C=Answer N="»ØÌû±í"
(
  C=ID T="INTEGER" P=No M=No N="±àºÅ" Z=false,
  C=Question T="INTEGER" P=No M=No N="Ö÷Ìù" Z=false,
  C=Content T="TEXT(50 ......

°ÑSQLÓï¾äת»¯³Éoracle - Oracle / »ù´¡ºÍ¹ÜÀí

SQL£ºselect * from smfd_ForeighStockPoint where AddTime between '2010/5/26 8:30:05' and '2010/5/26 8:40:05'
oracleµÄÈÕÆÚ¸ñʽÊÇ¡®04-3Ô -10 10.32.04.460000 ÉÏÎ硯£¬ÇëÎÊÕâÑùÔõôд£¿£¿
to_dateº¯Êý

select * from smfd_ForeighStockPoint where AddTime between to_date('2010/5/26 8:30:05','yyyy/mm/dd ......

sql²éѯÓï¾äÎÊÌâ oracleµÄ - Oracle / »ù´¡ºÍ¹ÜÀí

²éѯÓÐ3ÃÅÒÔÉÏ£¨°üÀ¨3ÃÅ£©¿Î³ÌÊÇ90·ÖÒÔÉÏ£¨°üÀ¨90£©µÄѧÉúѧºÅ¼°¿Î³ÌÊý ÀýÈ磺
ѧºÅ ÐÕÃû ¿Î³ÌÃû³Æ ¿Î³Ì³É¼¨
 1 ÕÅÈý ÓïÎÄ 80
 2 ÀîËÄ Êýѧ 90
 3 ÍõÎå Ó¢Óï 90
д³ösqlÓï¾ä¼´¿É
select ѧºÅ,count(*) from
  (select ѧºÅ,¿Î³ÌÃû³Æ from table_name
&nb ......

asp sqlÓï¾äÇóÒ»¸öÊý¾ÝÏîµÄ¼¯ºÏ - Web ¿ª·¢ / ASP

ÎÒÏë²éѯÊý¾Ý¿â±í ÖеÄËùÓм۸ñµÄ×ÜºÍ ²¢¸³Öµ¸øÒ»¸ö±äÁ¿ Ó¦¸ÃÔõÑù×ö 
VBScript code:

<%
set rs_FriceSum=server.createobject("adodb.recordset")
sql="select * from sum(Goods_price) as [Sum] Cart where Cart.user_id="&session("user_id")&""
rs_ ......

Çë½ÌÒ»ÌõSQLÓï¾ä - Java / Java EE

create table student
(
 s_id int, 
 s_name varchar(20),
 s_age int
)
create table teacher
(
t_id int,
t_name varchar(20),
t_age int
)
create table si
(
t_id int,
s_id int
)
²éѯ³öËùÓÐÀÏʦ´ú¿ÎµÄÃû×Ö£¬ºÍÊýÁ¿£¬Ìõ¼þÊÇÀÏʦµÄÄêÁä´óÓÚ30£¬Ñ§ÉúµÄÄêÁäÊÇ´óÓÚ12

Ã²Ê ......

ÇóSQLÓï¾ä - MS-SQL Server / »ù´¡Àà

table1 
 id  
 01 
 02
...
table2 
 id registerdate
 01 2010-02-27 22:49:26.633
 02 2010-02-27 22:56:23.070
...
ÔÚtable1ÖÐÐÂÔöregdate ÁÐ
²¢°ÑregisterdateÁеÄÖµ²åÈë regdateÁÐÖÐ

SQL code:
--truncate table table1 --ɾ³ýtab ......
×ܼǼÊý:3315; ×ÜÒ³Êý:553; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [14] [15] [16] [17] 18 [19] [20] [21] [22] [23]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ