Get all unique years from a date column using Sql(Mysql).
SELECT distinct year(OrderDate) FROM Orders;
SELECT distinct year(column_name) FROM table_name;
How to get all unique years from a date column using Sql(Mysql)?
SELECT distinct year(OrderDate) FROM Orders;
SELECT distinct year(column_name) FROM table_name;
wpcodekit Website Designers is one of the best website designing company in punjab 2020. We create beautiful looking, fast and secure websites.We are create professional websites in punjab since 2016.