I have a table called "questionarios" (sorry, it's portuguese), and
its primary key is a field called "codquestionario". Why pgsql doesn't
"throw" an error when this query is executed?
select * from questionarios q where questionarios.codquestionario = 1
In my opinion, "questionarios" should not be valid in this query, only
"q", but for some reason the condition "questionarios.codquestionario"
just get ignored and all records are returned.
Why??
--
Felipe Schnack
Analista de Sistemas
felipes@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
ritter@ritterdosreis.br
Fone/Fax.: (51)32303341