Quantcast
Channel: How to do this Query?
Viewing all articles
Browse latest Browse all 8

Re: How to do this Query?

$
0
0

select a.product,sum(b.price) as totprice from table a,table b where a.sno<=b.sno group by a.product

having sum(b.price)<=x


Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>