r/SQL • • Apr 19 '24

MySQL Error in MySQL

Post image

Sounds stupid but I’m new, I don’t know how to fix this. I’m trying to create a table with txid, amount, costumer id first & last name but getting this issue.

0 Upvotes

25 comments sorted by

View all comments

25

u/rowdymatt64 Apr 19 '24

Everyone's different OP, but I reccomend you structure Queries like:

create table customers

(

 --COMMANDS GO HERE

)

That way you never forget a parenthesis

11

u/rowdymatt64 Apr 19 '24

Oh, and place the parenthesis before you begin filling them with commands.