I am working on a query that I would like to get the top 4 values based on a group. Here is the SQL:
SELECT qRenPercRept1.C ountOfccName, qRenPercRept1.M erged, qRenPercRept1.c cName, qRenPercRept1.A vgOfcpUpcomingR en
FROM qRenPercRept1
ORDER BY qRenPercRept1.C ountOfccName DESC;
I want the top 4 Merged based on Countofccname.
is this possible? I've tried a few different things that I have read online, but I keep getting "Data mistype" errors.
Thanks so much in advance!
LSGKelly
SELECT qRenPercRept1.C ountOfccName, qRenPercRept1.M erged, qRenPercRept1.c cName, qRenPercRept1.A vgOfcpUpcomingR en
FROM qRenPercRept1
ORDER BY qRenPercRept1.C ountOfccName DESC;
I want the top 4 Merged based on Countofccname.
is this possible? I've tried a few different things that I have read online, but I keep getting "Data mistype" errors.
Thanks so much in advance!
LSGKelly
Comment