Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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
 ×îÐÂÎÄÕ : Oracle

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

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

oracleÁ½ÕÅÊý¾Ý±íµÄ³éÈ¥ÎÊÌâ - Oracle / ¿ª·¢

Á½ÕÅÏàͬµÄÊý¾Ý±í£¨½á¹¹Ïàͬ£©A±í¡¢B±í
ÎÒ´Ó±íAÖвéѯµ½µÄÊý¾Ý±£´æµ½Ò»¸öDataset ÀȻºó°ÑDatasetÀïÃæµÄÊý¾ÝÈ«²¿Ìí¼Óµ½BÀïÔõôʵÏÖ¡£
ÎÒÕâÑùʵÏÖÔõô´ÓA±í²éѯµ½µÄÊý¾ÝÌí¼Ó²»µ½BÀïÈ¥ÄØ£¿
DataSet dsExp = Query(conExp,sqlExp);ÕâÒ»²½Ã»ÎÊÌâÊý¾Ý¿ÉÒÔ»ñÈ¡µ½¡£
String sql="select * from jp_kss";
OracleDa ......

³õѧoracle¡£Ó¦¸ÃѡʲôÊ飿 - Oracle / »ù´¡ºÍ¹ÜÀí

¸÷λÀÏ´óÃÇÍƼö±¾Êé°É¡«
×îºÃ²»ÒªÔÛ¹ú¼ÒÈËдµÄ£®ÎÒÒ»Ö±¸Ð¾õÔÛÃǹúµÄר¼ÒÃÇдÊéÍùÄÑÁËдËùÓÐÈ˶Á²»¶®ËûÃDzŸßÐË£®£®

Óб¾ÊéºÃÏñÊÇ¡®¾«Í¨9i/10g ±à³Ì¡¯Í¦»ù´¡µÄ¡£

ÏëÁ˽âÌåϵ½á¹¹¿ÉÒÔÑ¡¡¶Oracle9i&10g±à³ÌÒÕÊõ£­£­ÉîÈëÊý¾Ý¿âÌåϵ½á¹¹¡· ÈËÃñÓʵç³ö°æÉç
ÈôÊÇÏëѧSQL»òÊÇPL/SQLÄÇ¿ÉÑ¡µÄÊéÓкܶ࣬LZ×Ô¼º¶àÕÒÕÒ°É¡£ ......

¼òµ¥Í³¼Æsql - Oracle / »ù´¡ºÍ¹ÜÀí

ÈçÌ⣺
  ͳ¼Æ±íÖÐ×òÌìÿ¸ô10·ÖÖӵļǼÊý¡£
  ʱ¼ä¶ÎÖÐÓоÍÏÔʾ¾ßÌåcountÊý£¬Ã»ÓоÍÏÔʾ0£¡
SQL code:

create table tb(id number, dtime date)
insert into tb (id, dtime)
values (1, to_date('2010-05-26 15:17:06', 'dd-mm-yyyy hh24:mi:ss'))
/
insert into tb (id, dtime)
values (2, to_da ......

Âé·³°ïÎÒдһÌõSQLÓï¾ä - Oracle / »ù´¡ºÍ¹ÜÀí

ÔÚemis.answerlib_1±íÖУ¬ÓÉÓÚʧÎ󣬽«ÁÐanswer ÀïÃæµÄºÜ¶àÊý¾Ý±ä³ÉÕâÑù
Question_ID Answer 
1061 abcdabcd
1062 abdabd  
¾ÍÊÇÊý¾ÝÖظ´ÁË ÎÒÏë°ÑËü±ä³Éabcd¡¢abdÈ¥³ýÿһÁÐÀïÃæÖظ´µÄÊý¾Ý

update emis.answerlib_1 a set a.answer=( select substr(answer,1,length(answer)/2) f ......

°ïæдÌõsql - Oracle / ¿ª·¢

tableÓÐÁ½¸ö×Ö¶Îcode¡¢name
--------------------------
---code--------------name----------
--10000--------------СÕÅ----------
--20000------------СÀî,С³Â-------
--30000-----------СÍõ,СÖÜ,СÃ×---
code×Ö¶ÎÊÇÊý×Ö£¬name×Ö¶ÎÊÇÃû×Ö£¬ÓпÉÄÜÊÇÒ»¸ö»ò¶à¸ö£¬¶à¸öµÄʱºòÓöººÅ·Ö¸ô¡£
ÏÖÔÚÒªµÄ²éѯ½á¹ûÊÇ£ºÈ ......
×ܼǼÊý:1827; ×ÜÒ³Êý:305; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [4] [5] [6] [7] 8 [9] [10] [11] [12] [13]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ