Invalid queries etc
Fixed column aliases
Integer comparison
Fixed boolean