I am new to SQL and was trying to create a basic emp table to learn a bit. When I write the query and try to execute it, I keep getting the message "ORA-00907: missing right parenthesis". However I feel that I have included a pair of braces for each function. Could anyone please help me to figure out the issue and if possible could correct me if I am wrong??
Below is the sample
SQL> create table emp
2 (emp id number(4),
3 first name varchar2(25),
4 last name varchar2(25),
5 phone number number (10),
6 department id number (4),
7 job id number (4),
8 salary number (6,2),
9 commission_pct number (4,2),
10 manager id number (4);
(emp id number (4),
*
ERROR at line 2:
ORA-00907: missing right parenthesis