also, if i change it so its not using left, but just gets me the full column data, in the query i then shows no column returned in the results set, but, in my web client i get the data.... but thats another bug.
In addition to @Apple's suggestion,
have you tested your api on a browser, with real data?
You can't fully test your query from within the wappler query builder...
the sql works as i have tested it in sql workbench as per the screenshot above, so the sql works, which is the exact same query (except i took out the :p1 and replaced with the value required, and i get the correct data set, but not in wappler. in the browser when i look at the recordset it doesnt containt the notes part at all, its like wappler is ignoring the left().