Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / November 2005

Tip: Looking for answers? Try searching our database.

maximum values in access query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Miguel - 24 Nov 2005 09:39 GMT
Hi,

I wonder if anyone can help me with this simple question:

I have a table which includes a column with questionnaire numbers (which
contains duplicates) and another column with dates. I wish to write a query
which will return only questionnaire numbers with the latest (maximum) date
as well as those questionnaire numbers for which there are no duplicates.

Can anyone help PLEASE!?

Thank you
Sunil - 24 Nov 2005 10:47 GMT
hi,

may be the below query can help u

select Quest_no,max(Quest_date) from table_name group by quest_no;

Pls let me know if this helps u

Thanx

With regds

Sunil.T

> Hi,
>
[quoted text clipped - 8 lines]
>
> Thank you
Miguel - 24 Nov 2005 12:56 GMT
Hi Sunil!

Thanks so much for your help. Your suggestion works!

Miguel

> hi,
>
[quoted text clipped - 22 lines]
> >
> > Thank you
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.