Du kan prova:
SELECT * FROM pf_news WHERE date_start <= CURRENT_DATE() AND
(date_end >= CURRENT_DATE() OR date_end IS NULL)
eller någon liknande logisk gruppering.
Du kan prova:
SELECT * FROM pf_news WHERE date_start <= CURRENT_DATE() AND
(date_end >= CURRENT_DATE() OR date_end IS NULL)
eller någon liknande logisk gruppering.