我有2表象下面這樣:查詢來從2差異表中記錄爲2列
1)
Engine
======
ID Title Unit Value
123 Hello Inch 50
555 Hii feet 60
2)
Fuel
=====
ID Title Value
123 test12 343
555 test5556 777
我想選擇結果2根據給定的ID列(ID應該在兩個表中相同):
標題-- This will get the (Title + Unit) from Engine table and only Title from Fuel table. Value
價值-- This will get Value from both tables.
結果爲ID = 123:
Title Value
Hello(Inch) 50
test12 343
任何建議,我怎麼可以在SQL服務器獲得這個2008年
Osm ..它的工作很棒..我怎麼忘記工會..謝謝.. – James