Updated SQLs.