comparison tests/where.lac @ 222:36fef91a6bbf

Integer and float constants in SQL
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 Aug 2008 17:50:10 -0400
parents 79819a6346e2
children
comparison
equal deleted inserted replaced
221:79819a6346e2 222:36fef91a6bbf
6 val q3 = (SELECT * FROM t1 WHERE FALSE) 6 val q3 = (SELECT * FROM t1 WHERE FALSE)
7 val q4 = (SELECT * FROM t1 WHERE {True}) 7 val q4 = (SELECT * FROM t1 WHERE {True})
8 val q5 = (SELECT * FROM t1 WHERE {1} = {1}) 8 val q5 = (SELECT * FROM t1 WHERE {1} = {1})
9 val q6 = (SELECT * FROM t1 WHERE {"Hi"} < {"Bye"}) 9 val q6 = (SELECT * FROM t1 WHERE {"Hi"} < {"Bye"})
10 val q7 = (SELECT * FROM t1 WHERE {1} <> {1} AND NOT ({"Hi"} >= {"Bye"})) 10 val q7 = (SELECT * FROM t1 WHERE {1} <> {1} AND NOT ({"Hi"} >= {"Bye"}))
11 val q8 = (SELECT * FROM t1 WHERE t1.A = {1}) 11 val q8 = (SELECT * FROM t1 WHERE t1.A = 1 OR t1.C < 3.0)