clear markdown compare help best fiddles feedback
clear markdown feedback
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 3601517 fiddles created (47952 in the last week).

CREATE TABLE T (ID INT, FOO INT);
 hidden batch(es)


INSERT INTO T VALUES (1,1),(1,2),(1,3);
3 rows affected
 hidden batch(es)


SELECT * FROM T WHERE ID * 1;
ERROR: argument of WHERE must be type boolean, not type integer LINE 1: SELECT * FROM T WHERE ID * 1; ^
 hidden batch(es)