Extract the sql command into a constant outside the main function.

Signed-off-by: Thiago Farina <tfarina@chromium.org>