我无法执行一个查询。我想从 2 个表 tbl_order_detail 和 tbl_order_lead_send_detail 中获取结果,其中 tbl_order_detail 具有dealer_id,所以我想将该dealer_id 转换为dealer_name(表tbl_order_lead_send_detail 中提到了dealer_name)
SELECT tbl_order_detail.*, tbl_order_lead_send_detail.dealer_name
where tbl_order_detail.order_status='Active'
有人可以帮忙吗?