I'd like to make a simple project for school using Oracle Application Express (Apex) and but when I try to run a simple code line for creating a new table I get this:
ORA-00907: missing right parenthesis
Here you have the SQL command:
CREATE TABLE masini (  
   ID INT AUTO_INCREMENT PRIMARY KEY NOT NULL, 
   nr_inmatriculare VARCHAR(10) NOT NULL UNIQUE, 
   model VARCHAR(32), 
   marca VARCHAR(32), 
   pret INT NOT NULL,  
   cantitate INT NOT NULL );
Also do I have to specify the NOT NULL property for ID or does PRIMARY KEY already do it by default?
 
    