Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 returning the majority string

Author  Topic 

coonabeast
Starting Member

5 Posts

Posted - 2001-08-03 : 22:47:27
Is there any way to draw information from the database that is seen the majority of the time...for example if I had a table that looked like this...

tblJohnsGrades
[Assignment, Grade]
[Chapter 1, 79]
[Chapter 2, 79]
[Chapter 3, 83]
[Chapter 4, 79]

Would there be any way to have a SQL command that returned '79' because it is the string seen most often in the column Grade???

PS I know that what is above is not correct SQL form, I am using an mdb file, I just wanted to set up a matrix to explain this to you.
   

- Advertisement -