ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

9-1-5 Update Set ­×§ï¸ê®Æ

9-1-5 Update Set ­×§ï¸ê®Æ

9-1-5   Update Set ­×§ï¸ê®Æ
¤£ºÞ¬O³æµ§¸ê®Æªº­×§ï¡A©Î¬O¦hµ§¸ê®Æªº­×§ï¡A¬Ò¥i¨Ï¥ÎUpdate Set«ü¥O±Ô­z¡A¨Ò¦p¡G¦Ñ®v¤jµo·O´d¡A¨M©w±N¦P¾Çªº°ê¤å¦Ò¸Õ¦¨ÁZ¥þ³¡³£¥[10¤À¡A¨º»ò¥i¥H¨Ï¥ÎUpdate Set«ü¥O¨Ó¤@¦¸­×¥¿¦hµ§¸ê®Æ¡AUpdate Set«ü¥O±Ô­zªº®æ¦¡¦p¤U¡G

­×§ï¸ê®Æ
  1. Update ¸ê®Æªí¦W Set Äæ¦ì­È¹Bºâ¦¡
½Æ»s¥N½X
¬°¥þ³¡¦P¾Çªº°ê¤å¦¨ÁZ¥[10¤À¡G
  1. Update transcript Set °ê¤å = °ê¤å + 10
½Æ»s¥N½X
¦pªG­n­×§ï¸ê®ÆªºÄæ¦ì¤£¥u¤@­Ó¡A«h¥i±N¦h­ÓÄæ¦ìªº¸ê®Æ§ó°Ê¹Bºâ¦¡¦ê±µ¦b¡uSet¡v¤§«á¡A¨Ò¦p¡G¬°¥þ³¡¦P¾Çªº°ê¤å¦¨ÁZ¥[10¤À¡A­^¤å¤À¼Æ¥[5¤À¡G
  1. Update transcript Set °ê¤å = °ê¤å + 10, ­^¤å = ­^¤å + 5
½Æ»s¥N½X
¤W¨â­Ó½d¨Ò±Ô­z¬O±N¥þ³¡ªº¸ê®Æ¿ýÄæ¦ì¸ê®Æ³£¥[¥H­×§ï¡A§Ú­Ì¤]¥i¥H¥[¤W¦³±ø¥óªºWhere«ü¥O±Ô­z¨Ó°µ¦³±ø¥óªº¸ê®Æ­×§ï¡A¨Ò¦p¡G¬°°ê¤å¦¨ÁZ¤¶©ó59¨ì50¤À¤§¶¡ªº¦P¾Ç¡A±N¨ä°ê¤å¦¨ÁZª½±µ´£¤É¬°60¤À¡G
  1. Update transcript Set °ê¤å=60 Where °ê¤å Between 59 And 50
½Æ»s¥N½X
¤ß¦w¡A¥­¦w   
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!

        ÀR«ä¦Û¦b : ·O´d¨S¦³¼Ä¤H¡A´¼¼z¤£°_·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD