Kamis, 01 November 2018

[MS_AccessPros] Getting Max Effdt question

 

Hello all,

I am working on a process that has several queries. There are two queries to get a final data set.

the first query is embedded into the other. . Is there a away to only use one query to get the max date?

Thank You
Jim Wagner



qry_MaxEffDtMinMidMax

SELECT MinMidMax.Jobcode, Max(MinMidMax.Effdt) AS MaxOfEffdt
FROM MinMidMax
GROUP BY MinMidMax.Jobcode;


qry_GetMaxEffDtMINMIDMAX


SELECT MinMidMax.Effdt, MinMidMax.Jobcode, MinMidMax.Descr, MinMidMax.Grade, MinMidMax.[Sal Range Min Rate], MinMidMax.[Sal Range Mid Rate], MinMidMax.[Sal Range Max Rate], MinMidMax.[Empl Class] INTO MaxEffDtMinMidMaxAllASU
FROM qry_MaxEffDtMinMidMax INNER JOIN MinMidMax ON (qry_MaxEffDtMinMidMax.MaxOfEffdt = MinMidMax.Effdt) AND (qry_MaxEffDtMinMidMax.Jobcode = MinMidMax.Jobcode);

__._,_.___

Posted by: luvmymelody@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


SPONSORED LINKS
.

__,_._,___

Tidak ada komentar:

Posting Komentar