There is neither a join nor a condition in the SELECT.

Just a where 1=1;

There is no date clause here.