when I attempt to use my buy function, I get this error:
RuntimeError: (sqlite3.OperationalError) near ".": syntax error [SQL: "INSERT INTO buy (users.id, share, quantity, price) VALUES(3, 'AAPL', 1, 141.05)"]
If I change users.id to users_id on phpliteadmin and in the code, it seems to solve the problem. Why? Thanks