mardi 26 juillet 2016

creating a sql table

I am trying to create my first SQL table and I am getting a syntax error and cannot figure out why. Here is my code:

create table ps 
(
  USER VARCHAR(20),
  PID INT(10),
  %CPU DECIMAL(4),
  %MEM DECIMAL(4),
  VSZ INT(10),
  RSS INT(10),
  TTY VARCHAR(10),
  STAT VARCHAR(5),
  START VARCHAR(20),
  TIME VARCHAR(20),
  COMMAND VARCHAR(20)
);

Aucun commentaire:

Enregistrer un commentaire