0

For example, [row 1] and [row 3] have duplicate values on column A and column B, I need to delete [row 1], any one know how to do in PostgreSQL? (or other SQL server..)

           [column A]    [column B]
[row 1]    "/100/"       "0.gif"
[row 2]    "/101/"       "0.gif"
[row 3]    "/100/"       "0.gif"
[row 4]    "/100/"       "1.gif"

This question is similar to Delete duplicated old rows and keep only latest mysql but the code there is not working in Postgres(9.1.9)

Community
  • 1
  • 1
ahgood
  • 1,847
  • 20
  • 19

0 Answers0