aggregate error?

A

AJ

I am getting the following error: "you tried to execute a query that
does not include the specified expression 'Y' as part of an aggregate
function. Any ideas?

select TOP 5 sum(x)
from tableA
order by y;

HELP!! Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top