Skip to content
Advertisement

How can I find datas smaller than “this sunday” in mysql

I have a mysql table and a date colomb that show when I add datas…

I wanna select datas smallar than this sunday from table..

HOw can I do that_? here is my code…

I couldnt figure it out “sevk_tarihi < DAY(3)”…

Advertisement

Answer

I am sorry, I misunderstood the question

This gives you past sunday

this gives you next sunday

for your query

gives you this sunday

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement