Show the titles and the award amounts of 20 awards that contain words discover, discoverer, discovery, discovered, and discovering in their abstracts.
My query:
This query assumes distinct awards per pi.
SELECT COUNT(distinct award), pi
FROM [tablename]
GROUP BY pi
ORDER BY COUNT(distinct award) DESC
States with top number of awards.
SELECT TOP 20 COUNT(distinct award), state
FROM [tablename]
GROUP BY state
ORDER BY COUNT(distinct award)
Remove the TOP 20 if you are not using T-SQL.