How to get following output from following 3 tables ?
customer_id company stocks
111 c11 s11
c12 s12
112 c13 s12
c11 s13
c14 s14
Table structure
customer : customer_id, customer_name
company : company_id, company_name, customer_id
stock: stock_id, stock_name, customer_id
Regards
customer_id company stocks
111 c11 s11
c12 s12
112 c13 s12
c11 s13
c14 s14
Table structure
customer : customer_id, customer_name
company : company_id, company_name, customer_id
stock: stock_id, stock_name, customer_id
Regards