Reimplemented the SQL tab in 4.3.4