Updated the SQL to get past the breakpoint