prepare install sql.