C#C
C#3y ago
sabaisabai

❔ SQL query

Hey guys I have column Date which sometimes have int sometimes strings and sometimes dates
In format --2022-01-26 this indicates when last time the column was updated

So if I have dates
--2022-04-04
--2016-04-04

And I input date
2018 I want to get 2016
2023 I want to get only 2022 as latest
2015 nothing because it wasnt updated yet having hard time with this to work properly
Was this page helpful?