select title, description, full_sql, bind_vars from us_selections where selection_id = :copy_id select title, description, full_sql, bind_vars from us_selections where selection_id = :selection_id delete from us_bind_vars where selection_id = :selection_id and name not in ($bind_var_sql_list)