Updated SQL script for latest notes addition