Why does MySQL return error on creating a table?
I’ve been trying to create a table with user input name but I get an error no matter how I write the query. right now query is like this: query=("CREATE TABLE "+t+" ( NAME VARCHAR , DISTANCE VARCHAR , PRICE VARCHAR , LOCATION VARCHAR)") and after running the whole code it returns: mysql.connector.errors.ProgrammingError: 1064 (42000):… Read More Why does MySQL return error on creating a table?