Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
select count(date) from generate_series('2023-05-28 20:38:01.516528+00'::timestamp, current_timestamp, '1 day') as date where extract(dow from date::date) between 1 and 5; ---select current_timestamp

Stuck with a problem? Got Error? Ask AI support!

Copy Clear