i am unable to execute one query.
I want to get result from 2 tables tbl_order_detail, and tbl_order_lead_send_detail
where tbl_order_detail has the dealer_id, so I want to convert that dealer_id to dealer_name (dealer_name is mentioned in table tbl_order_lead_send_detail)
SELECT tbl_order_detail.*, tbl_order_lead_send_detail.dealer_name
where tbl_order_detail.order_status='Active'
Can someone please help?
missing from clause
but you will also need to join these two table together? what links them?
where tbl1.field1=tbl2.field5
for example