I don’t know where you got this select but there can be some answers.

1. Select * from table where 1=0
return just header of the fields (attribute)
but with 0 rows

2. Select * from table where 1=1
return whole table entries
this is same as select * from table

I guess someone set this query for easy change from select all to select none

This is just my opinion.