Microsoft Access Database Tutorial – Selecting Unique And Distinct Values In A Query

ms access database tutorial .Another approach is to consider changing a standard SELECT query into a Group/Total query which will have the same effect providing you have kept the number of output fields to either the one field being interrogated or just a couple of fields which can be naturally grouped together for the same result (if applicable).
Ideally, using the keyword DISTINCT or DISTINCTROW (or the properties from the property sheet) will be a better approach. Remember, you can only set one of the two properties from the property sheet at a time to the value ‘Yes’ which will switch the other to the value ‘No’. It’s also the same within SQL view statement area when specifying either of the two keywords!
The benefit to this type of ms access database tutorial query is the starting process to normalising data if it was say imported from a flat-file database file like an Excel spreadsheet and the next step to extracting and creating new tables using some of the ACTION queries available.No programming is needed here!
To learn more about MS Access queries and the more advanced types, you could consider my eBook on More Access database queries which has proved very useful to database developers and is also part of my eBook bundle offer of six eBooks – why not take a look?
34 Edgwarebury Lane,Edgware,Middlesex,HA88LW,UK

Comments

Popular posts from this blog

Microsoft Access Queries: An Action Query

How To Run Microsoft Access On A Mac PC Using CrossOver Software – Alternative Options

Microsoft Access Tutorial: Creating A Many-To-Many Relationship