You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ProgrammingError: (pymysql.err.ProgrammingError) (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"batch"' at line 1')
[SQL: SELECT "id" FROM "batch"]
How does is works?
The text was updated successfully, but these errors were encountered:
from pypika import Query, Table
customers = Table('batch')
q_str =str(Query.from_(customers).select(customers.id))
print(q_str)
SELECT "id" FROM "batch"
Because the Double quotation marks " exists,
ProgrammingError: (pymysql.err.ProgrammingError) (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"batch"' at line 1')
[SQL: SELECT "id" FROM "batch"]
How does is works?
The text was updated successfully, but these errors were encountered: