Hi
I have a database birthday containing name and DOB,
I want to find the query which can display 3 latest birth day.
I tried
select name,date from birthday where month(dob)>=mon th(curdate()) limit 3;
But the problem here is that on 31-December-2008 it will not display the birthdays on January.
Shashank
I have a database birthday containing name and DOB,
I want to find the query which can display 3 latest birth day.
I tried
select name,date from birthday where month(dob)>=mon th(curdate()) limit 3;
But the problem here is that on 31-December-2008 it will not display the birthdays on January.
Shashank
Comment