Fixed HELLOCommand sql queries