Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

SQLÓï¾äÎÊÌ⣬¸ßÊÖ°ï棡£¡

3.ѧÉú±í£¬Ñ¡¿Î±í¡£¿Î³Ì±í¡£Èý¸ö±í£¬ÕÒ³öÑ¡ËùÓпγ̵ÄѧÉú¡£
4.ѧÉú±í£¬Ñ¡¿Î±í¡£¿Î³Ì±í¡£Èý¸ö±í£¬ÕÒ³öÑ¡ÁË5ÃÅÒÔÉϿγ̵ÄѧÉú¡£
5.ѧÉú±í£¬³É¼¨±í¡£¿Î³Ì±í¡£Èý¸ö±í£¬ÕÒ³öËùÓпγ̵ķÖÊýÔÚ80·ÖÒÔÉϵÄѧÉú¡£

ÁíÓи߷ÖÏàËÍ¡£¡£¡£

ÄãÕâ¸öÌ«³éÏóÁË  Äܲ»ÄÜÏêϸµã°¡

Ôõôд³öÀ´¶¼ÐУ¬ÊÇSQLÓï¾äÄܱí´ïÒâ˼¾Í¿ÉÄÜ£¬ÎÒΪÁËÃæÊÔ¡£¡£Ð»Ð»ÐÖµÜÁË¡£¡£

×îºÃ°Ñ±í½á¹¹Ìù³öÀ´£¬È»ºóÔÙ˵Çå³þÐèÇó¡£


select sn from s where not exists(select * from sc where sc.s#=s.s# and grade <80);

ËÑË÷һϣ¬ÍøÂçÉϴ𰸺ܶàµÄ



Â¥Ö÷Õâ¸öÎÊÌâÔÚÕâ¸öÂÛ̳ÉÏ¿´µ½¹ýÐí¶à´ÎÈËÎÊÁË£¬¿´Ñù×ÓÊÇÄĸöÀÏʦ²¼ÖõÄÌâÄ¿

ÒýÓÃ
Â¥Ö÷Õâ¸öÎÊÌâÔÚÕâ¸öÂÛ̳ÉÏ¿´µ½¹ýÐí¶à´ÎÈËÎÊÁË£¬¿´Ñù×ÓÊÇÄĸöÀÏʦ²¼ÖõÄÌâÄ¿


È˼Ò˵ÁË£¬ÊÇÃæÊÔÌâÄ¿°¡£¡ºÇºÇ£¡

ÒýÓÃ
ÒýÓà 8 Â¥ hebo2005 µÄ»Ø¸´:
Â¥Ö÷Õâ¸öÎÊÌâÔÚÕâ¸öÂÛ̳ÉÏ¿´µ½¹ýÐí¶à´ÎÈËÎÊÁË£¬¿´Ñù×ÓÊÇÄĸöÀÏʦ²¼ÖõÄÌâÄ¿


È˼Ò˵ÁË£¬ÊÇÃæÊÔÌâÄ¿°¡£¡ºÇºÇ£¡

˵Ã÷Õâ¼Ò¹«Ë¾²»ÔõôÑù£¬ÃæÊÔµÄÌâÄ¿¶¼Êdz­À´µÄ

ÒýÓÃ
ÒýÓà 9 Â¥ oraclemch µÄ»Ø¸´:
ÒýÓà 8 Â¥ hebo2005 µÄ»Ø¸´:
Â¥Ö÷Õâ¸öÎÊÌâÔÚÕâ¸öÂÛ̳ÉÏ¿´µ½¹ýÐí¶à´ÎÈËÎÊÁË£¬¿´Ñù×ÓÊÇÄĸöÀÏʦ²¼ÖõÄÌâÄ¿


È˼Ò˵ÁË£¬ÊÇÃæÊÔÌâÄ¿°¡£¡ºÇºÇ£¡

˵Ã÷Õâ¼Ò¹«Ë¾²»ÔõôÑù£¬ÃæÊÔµÄÌâÄ¿¶¼Êdz­À´µÄ



¶÷£¬²»´í£¬¿ÉÄÜÊÇгÉÁ¢µÄ¹«Ë¾£¬»òÕß¼¼Êõ²¿µÄÈ˶¼¶ÔÊý¾Ý¿â²


Ïà¹ØÎÊ´ð£º

sql server ´æ´¢¹ý³ÌÑ­»·¸³ÖµµÄÎÊÌâ

СµÜÊǸöÐÂÊÖ ÏÖÔÚÓиöÎÊÌâÒ»Ö±²»Äܽâ¾ö
ÀýÈç
procedure produce_proc
    @p001 nvarchar(8000),
    @p002 nvarchar(8000),
    @p003 nvarchar(8000),
  & ......

SQL½»²æ²é詢

  data            a        b        c        d        e  tag
2009-11-01 11 ......

ÇóÖú£ºSQLÓï¾ä

±í1£º
col1              col2
a                a.1
b                b.1
......

²éѯÊý¾Ý¿âÖÐСÓÚ0µÄSQLÓï¾ä

ÓÃACCESS ÓÐÕűíchanpin ÀïÃæÓÐÒ»Ïîkuchun

ÏÖÔÚÓÃÏÔʾ¿â´æСÓÚµÈÓÚ0µÄËùÓвúÆ·
ÓÃÓï¾ä SQL = "select * from chanpin where kuchun <='0' "  ²»ÄÜʵÏÖ
¸ÄΪ SQL = "se ......

SQLÓï¾äÎÊÌ⣬¸ßÊÖ°ï棡£¡

½«Ò»¸ö±í21~30ɾ³ý£¬sqlÓï¾äÔõôд
Õâ¸öÌ«ÁýͳÁË£¬ÊÇÅÅÐòºóµÄµÚ21Ìõµ½30Ìõ¼Ç¼ɾ³ý»¹ÊÇijһÁÐÖµÔÚ21µ½30Ö®¼äµÄɾ³ý°¡£¿

21-30ÊÇʲôÒâ˼£¿×ֶεĻ°¾Ídelete from table1 where col1>=21 and col1<=30
Ö¸µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ