You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 20180924180229_delete_duplicated_daily_note_students.rb
    path of file: ./repos/i-diario/db/migrate
    
    the code of the file until where you have to start completion: class DeleteDuplicatedDailyNoteStudents < ActiveRecord::Migration[4.2]
    
  def change
    execute <<-SQL
      DELETE FROM daily_note_students
       USING daily_note_students AS daily_note_students_to_delete
       WHERE daily_note_students.id < daily_note_students_to_delete.id
         AND daily_note_students.student_id = daily_note_students_to_delete.student_id
         AND daily_note_students.daily_note_id = daily_note_students_to_delete.daily_note_id;
    SQL
  end