Edwin has a Go program that creates an in-memory SQLite database with the movies table that has records of his favorite movies.
After creating the in-memory database, Edwin wants his program to retrieve the last record in the movies table, save it within the lastMovie variable and then print the retrieved record to the terminal.
Please help Edwin write the required additional code to achieve this task.