I am trying to build a query form on my application, but I met problems building SQL statements.Anyone knows where to find accurate SQL syntax for query.where? e.g. This statement does not work.query.where = "damname = '" + $("input[name='damname']").val() + "'" + " OR " + "HAZCLASS = " + $("input[name='HAZCLASS']").val() + "";