I am on a mac system . I have mysql installed . I wanted to create a table in a database named ticket_system
create table ticket_system.Train
Train_no NUMBER(10) PRIMARY KEY,
MySQL does not have a
number() data type. Use
INT or a similar data type which is appropriate for auto incrementation.
If you need a fixed-point data type for numbers like
13.98 then use