I have table of duplicate records like Now I want only one record from duplicate records which has latest created date as How can I do it ?
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- What is the best way to cache a table from a (SQL)
- php PDO::FETCH_ASSOC doesnt detect select after ba
Use ROW_NUMBER function to tag the duplicate records ordered by CreatedDate, like this:
use
row_number()
: