Adds SQL code view