I am trying to create a table in MySQL, but I am getting an error. The code is looking OK to me, but I don't know why I am getting the error.
This is the code :
CREATE TABLE usage (
user_id VARCHAR(20) ,
usage_date DATE ,
usage_location VARCHAR(20) ,
time_spent INT
);
The error that I am getting:
Query 1: 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 'usage (
user_id VARCHAR(20) ,
usage_date DATE ,
usage_locatio' at line 1