SELECT
  foo
, bar
FROM test
WHERE 1=1
AND test.foo = ?
