SELECT tbl_product . * , tbl_orders_details.quentity FROM `tbl_product` INNER JOIN tbl_orders_details ON tbl_orders_details.product_id = tbl_product.productId WHERE tbl_orders_details.order_id =1 I have written the above query and it works fine. But how it can be written in YII plz.......... help
Great talk. I often consider whether it's these parts of the job that are actually the hard part - as opposed to the technical side.
SELECT tbl_product . * , tbl_orders_details.quentity
FROM `tbl_product`
INNER JOIN tbl_orders_details ON tbl_orders_details.product_id = tbl_product.productId
WHERE tbl_orders_details.order_id =1
I have written the above query and it works fine. But how it can be written in YII plz.......... help