Sunday, 18 March 2012

sql query


select group_product.*,product.*,(select Sum(user_bid.bid_points) from user_bid where user_bid.product_id=group_product.product_id)
as totbid
from group_product,product
where group_product.product_id=product.product_id

No comments:

Post a Comment