Added semicolon to sql template