Extending the SQL to include the insert into statement