Updated SQL Statements.