afbutlerandassoc
MIS
Hi guys & gals, sorry for the seemingly stupid question. Looks like I'm lost here. I have a set of tables that feed info to each other:
vendors-table, country-code, rates-by-vendor
I need to run a query against the Rates-by-vendor table which lists the same country up to 15 times with various rates by different vendors. I tried a select top 5 query as follows:
SELECT Top 5 [Rate table by Vendor].[Dial reference #], [Rate table by Vendor].Rate, [Rate table by Vendor].[Vendor #]
FROM [Rate table by Vendor]
GROUP BY [Rate table by Vendor].[Dial reference #];
My error message is: "You tried to execute a query that does not include the specified expression 'Rate' as part of an aggregate function.
I'm lost - I'm new to SQL so I have no ideas - any help would be appreciated x-)
vendors-table, country-code, rates-by-vendor
I need to run a query against the Rates-by-vendor table which lists the same country up to 15 times with various rates by different vendors. I tried a select top 5 query as follows:
SELECT Top 5 [Rate table by Vendor].[Dial reference #], [Rate table by Vendor].Rate, [Rate table by Vendor].[Vendor #]
FROM [Rate table by Vendor]
GROUP BY [Rate table by Vendor].[Dial reference #];
My error message is: "You tried to execute a query that does not include the specified expression 'Rate' as part of an aggregate function.
I'm lost - I'm new to SQL so I have no ideas - any help would be appreciated x-)