title: SQL query, to display duplicate values with all the columns
body: <p>please correct the below sql query. 
  Here columns are dynamic. 
  So i have to user * only. 
  Query:</p>
  
  <pre><code>SELECT * FROM test_table WHERE Id IN ('abc','123') GROUP BY Id HAVING COUNT(*) &gt; 1
  </code></pre>