我有我查詢在所述第二域值43的表和我返回第三字段的值從2個表中選擇在一個單一的查詢
SELECT t1_field3 FROM table1 WHERE t1_field2=43
this returns 19, 39,73
t1_id t1_field2 t1_field3
----- --------- ---------
1 43 19////
2 43 39////
3 43 73////
4 73 43
5 13 40
然後我分別查詢第二表獲取更多信息
SELECT * FROM table2 WHERE t2_id=t1_field3
t2_id t2_field2 t2_field3
----- --------- ---------
19 value19.2 value19.3
39 value39.2 value39.3
73 value73.2 value73.3
有沒有一種方法可以在同一個查詢中同時使用table1和table2?