A
AJ
Is there a way to select top 5 (stores) based on a calculation?
example
select * from stores
where ?? in (select top 5 avg(sales + amount))
example
select * from stores
where ?? in (select top 5 avg(sales + amount))