Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

SQL QUery

$
0
0

You need to find duplicate account’s in an Account table.  The Account table has 15 columns in it.  What is the problem with this query?

SELECT*

FROM Account

WHERE

      CreateDate>'2/1/2013'

GROUPBY AccountID

HAVING

     COUNT(AccountID)>1

Thanks,

RT


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>