Fixed command that should be query rather than query column