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

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -