revised SQL statements to have uppercase