選擇字段,我需要選擇這些領域-----如何從兩個表
user_id,
sales_vertical,
partner_id,
category,
sub_category,
stage_id,
exp_revenue,
action,
action_date,
title_action,
date_action,
details from opportunity_history table
和
tri_title,
tri_subtitle
from res_partner table
where res_partner.partner_id = opportunity_history.partner_id
在單個查詢
。 我們該怎麼做?
感謝阿迪爾
你可以試試更好地設置你的問題的格式,並提供更多的背景。問題的當前狀態使我們難以真正看到你想要做什麼。 –
可能的重複[Simple SQL Select from 2 Tables(什麼是Join?)](http://stackoverflow.com/questions/11040587/simple-sql-select-from-2-tables-what-isa-a-加入) – FoamyGuy