Answers for "how to get last three years record in mysql"

SQL
7

mysql get last row

SELECT fields FROM table ORDER BY id DESC LIMIT 1;
Posted by: Guest on March-04-2020
0

get last three characters in mysql column

SELECT NAME FROM STUDENTS WHERE MARKS > 75 ORDER BY SUBSTRING(NAME,-3), ID;
Posted by: Guest on March-28-2021

Code answers related to "how to get last three years record in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language