Updated SQL statements style.