I have 3 table and want to run a query to get the result like result table. Using php I will send 2 value like red text of above image. What will be the query to get result like the result section of above image? Please help me.
use this and modify according to your requirement. "Select * form users_share as a, share_type as b , daily_trade as c where a.user_id='1' and a.folio_id='1' and a.share_id=b.share_id and b.share_code=c.code group by a.share_id"
cignusweb, THANK YOU VERY MUCH. Your code works perfectly what I needed. * just replace 'form' to 'from' You are rock man.