SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create table test ( id serial, test_date timestamp ); insert into test (test_date) values ('1970-01-01'), ('1970-02-01'), ('1980-01-01'), ('1980-02-01'); select id, test_date from test where extract(month from test_date) = 1;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear