close

(標題好爛但我想不出更好的)

從臨時建立的資料中 Select / Values 指令 

這樣建立的假 Table, 還可以去Join其他的Table 

 

SELECT * FROM  

  (VALUES 

    (101, 'Bikes'), 

    (102, 'Accessories'), 

    (103, 'Clothes') 

  ) AS E(CategoryID, CategoryName); 

 

arrow
arrow
    全站熱搜

    汪湯姆 發表在 痞客邦 留言(0) 人氣()