sql server - Sql Query t find out maximum from name field -


i have 5 tables field name name . & name appear maximum time in each table need find out output maximum in answer

select top 1 name, count(*) table group name order count(*) desc 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -