Get latest updated records

前端 未结 5 1829
旧时难觅i
旧时难觅i 2020-12-22 03:00

I have an \"Observation\" table in SQL Server 2008. This table has a locationId column for a bunch of geographic locations, a few columns for observation details and a colum

5条回答
  •  忘掉有多难
    2020-12-22 03:23

    Run query

    select * from Observation 
    group by location 
    order by viewdate desc
    

    Please also give the full details about table and what you want to get.

    EDIT : Backtick removed.

提交回复
热议问题