Where date is current or over

How can say it should NOT take the rows that has "expired" the date?

select * from campaigns where slut =< CURRENT_DATE() ?

Answers


select * from campaigns where slut >= CURRENT_DATE()

Selects all rows where 'slut' is above or equal to current date


Need Your Help

General guidelines to avoid memory leaks in C++

c++ memory memory-management raii c++-faq

What are some general tips to make sure I don't leak memory in C++ programs? How do I figure out who should free memory that has been dynamically allocated?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.