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: 20200305135212_create_materialized_view_mvw_infrequency_tracking_students.rb
    path of file: ./repos/i-diario/db/migrate
    
    the code of the file until where you have to start completion: class CreateMaterializedViewMvwI
    
  def change
    execute <<-SQL
      CREATE MATERIALIZED VIEW mvw_infrequency_tracking_students AS
      SELECT students.id AS id,
             students.name AS name,
             EXTRACT(year FROM infrequency_trackings.notification_date) AS year
        FROM infrequency_trackings
        JOIN students
          ON students.id = infrequency_trackings.student_id
    GROUP BY students.id, students.name, infrequency_trackings.notification_date;
    SQL
  end