I am working on an Azure SQL database (T-SQL) where I have a table looking like this :
Device | MsgDate (type datetime2) | MsgType | Latitude | Longitude | ot