Advertisement

Sql query to fetch Year, Month and day separately from a table?

Sql query to fetch Year, Month and day separately from a table? Sql query to fetch Year, Month and day separately from a table

SELECT YEAR(dob) FROM employees;
SELECT MONTH(dob) FROM employees;
SELECT DAY(dob) FROM employees;

mysql interview queries playlist:

Mysql Year function,mysql MONTH function,mysql DAY function,mysql interview questions,mnc mysql top questions,mysql interview queries,mysql top interview queries,

Post a Comment

0 Comments