How to fix ERPNext error?

Hello… This is my first time using ERPNext, i am working on customize query for customer statement.
I used this link as reference:

but i got this error:
pymysql.err.InternalError: (1054, “Unknown column ‘tA.customer’ in ‘field list’”)
Any kind of help please.