sql server - How to pull the duplicate record in SQL -


I have some records that look like this.

Enter image details here

I have the following I want to stretch.

second picture

Is this possible?

I can only remove duplicate values ​​but 'I feel like wanting to get it. [COLUMN A] Hosting [COUNTUMN A]) by the [MYBABLE] group from SELECT [COLUMN A], COUNT [[COLUMN A])> 1 ORDER BY [Column A]

Anybody please help me please thank you

You can use the following questions to get the desired result:

  SELECT ColumnA, MAX (ColumnB) column B, MIN (ColumnC) column C, Max (column C) column A by column A by column A;    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -