• 沒有找到結果。

RS TU V W XY U Z RS TU V W XY U Z RS TU V W XY U Z RS TU V W XY U Z

N/A
N/A
Protected

Academic year: 2021

Share "RS TU V W XY U Z RS TU V W XY U Z RS TU V W XY U Z RS TU V W XY U Z"

Copied!
1
0
0

加載中.... (立即查看全文)

全文

(1)

 103    



     F9602

          2                                       Sybase !!!!SQL Server          )



 

 ________________

                   ! "# $ % & '(  ) *

+,   -# . / 021

3 465 7 89  : "; <= > ?@ A=  B /

100 01

?@ A= C D E F GH IJ KL IM  N O P Q

P Q

P Q

P Q  

 RS TU V W XY U Z

RS TU V W XY U Z

RS TU V W XY U Z

RS TU V W XY U Z\[

[[[ ']  ^

_5 `a b c  de fg hi . j 01

'k M  N c l m    J n  o p > qr s tJ  1

3u vw xy z{ |} ~ € ‚ƒ

xy z{ |} ~ € ‚ƒ

xy z{ |} ~ € ‚ƒ

xy z{ |} ~ € ‚ƒ

(# „ qr … †‡ ˆ ‰ Š‡ ˆ‹ Œ  Ž Š ‹ Œ) # ‘ ’

“ ”• – —  ˜ )M vw ™š # œ >

L

/ žŸ  ¡ M 9 J ¢ D£ ¤ ¥¦ o §

 ¨ ©  ¢ D f



g h j

10 0 – g L / žŸ ª« (  ) ­® g ¯ vw ° ±² ³ ´ 1

µ ·¸ S ¹º

µ ·¸ S ¹º

µ ·¸ S ¹º

µ ·¸ S ¹º [[[[ » ¹º ¼½ ¾¿ ÀÁ  ‚

» ¹º ¼½ ¾¿ ÀÁ  ‚» ¹º ¼½ ¾¿ ÀÁ  ‚

» ¹º ¼½ ¾¿ ÀÁ  ‚6ÂÂÂÂ



"  #

"  #"  #

"  #

        

HIPO (Hierarchical Input Process Output)6

    (Entity Relationship Diagram, ERD)6

"  $

"  $"  $

"  $

     ! " # $ % & 

' ( ) * # (Agile Development)7

+ , - ) * # (eXtreme Programming)6

"  %

"  %"  %

"  %

. / 01  2 3 4 5 6 7 8   9 : ;< =  2 > ? (Logical Data Independence)

@   2 > ? (Physical Data Independence)AB 9 : CDE F  2 > ? A12 G

  H I

"  &

"  &"  &

"  &

J K  MS SQL ServerL . / 6T-SQLM & N O P Q

R S TUV(Subquery)A6

  2 3 W X Y  Z [  ;\Supplier A]@\Supplier B] Z [ D

B  Z [ 6^ _ `a b c  TUVd   UVefB R A7

SELECT * FROM SupplierA WHERE EXISTS ( SELECT * FROM SupplierB WHERE ItemName= SupplierA.ItemName AND Price > SupplierA.Price )

SupplierA SupplierB

ItemName Price ItemName Price

LGg h i 19,900 j k l m h i 14,880

n o g h i 19,900 p qr g h i 19,900

0s g h i 18,900 t ? g h i 35,990

u v g h i 24,750 u v g h i 24,000

j k l m h i 14,000 0s g h i 17,500

" " " "  ''''

w  * # x - 6y z { | CD}I~qy z (Top-Down Testing)CD}Iq~

y z (Bottom-Up Testing)

  I~qy z 6y z - € ;y z ‚ƒ „ € `4

  Iq~y z 6y z - € ;y z ‚ƒ „ € `4

0† l  y z - € ‡y z x - W ˆ ‰ Š ‹ y z Ž }/   ƒ „ (Stub)‘’

“ ƒ „ (Driver)  † l  y z - €  ” R • /   ƒ „ – ’“ ƒ „ A

5

" " " "  ((((

" ƒ M ˜ (UML) š › œ — ƒ  ž Ÿ   14 ¡   ! " ¤ ¥ — ƒ /

   ‚ ¡ 6/ ¦ 

. / Y § (Use Case Diagram)4

¨  (Class Diagram)4

0© € (Sequence Diagram)4

" " " "  ))))

ª  2 3 W « ¬ {  2 [ Employee(EmpNum, EmpName, DeptNum, Salary)‚

® ¯  ° [ ­ { ° ± ²­ { ³  ²­ { L ´ Œ m ° ± ²­ { µ ¶· W EmpNum; primary

key`Employee 2 [ ¸ ¹ ” 

CREATE TABLE Employee (

EmpNum CHAR(12) NOT NULL, EmpName CHAR(12) NOT NULL, DeptNum CHAR(4),

Salary MONEY )

º SQL UVU» ¼ ½ ¾ x 3 ¼ m m ° ±  ¿ À µ ¶²Á µ ¶²Á

à µ ¶`13

" " " "  ****

‡Sybase Transact-SQL select Ä Å W 6computeTÆCDÇUVefÈÉÊËÌ [ Í Î Ï L Í Î 6‚Ð „ (group) 5 ef`J K QÒ Ó L Ô  {  2 [ º

Sybase 6 select Ä Å J Œ m … € Õ ‚Œ m ­ { m ° ± ²­ { ³  ²­ { µ ¶ » • / computeTƇ‚Œ m d Ö  » × Œ m  µ  Ø Ù`12

參考文獻

相關文件

[r]

Comments on problems with complex equation of state Even for single phase flow case, standard method will fail to attain pressure equilibrium, say, for example, van der Waals gas..

https://www.youtube.com/w atch?v=AQA8nUkeNXk 還是不太懂,.

Using this symmetry structure, one can easily prove that the z function automatically satisfies the vacuum condition of the W 1 + o~ algebra if it obeys the string

Given a connected graph G together with a coloring f from the edge set of G to a set of colors, where adjacent edges may be colored the same, a u-v path P in G is said to be a

• 有一個可以耐重 W 的背包,及 N 種物品,每種物品有各自的重量 w[i] 和價值 v[i] ,且數量為 k[i] 個,求在不超過重量限制的情 況下往背包塞盡量多的東西,總價值最大為多少?.

z屬性 (property) z方法 (method) z事件