Create Table Employee( Emp_NINO VARCHAR (13) NOT NULL, Emp_FName CHARACTER (10) NOT NULL, Emp_LName CHARACTER (10)NOT NULL, Emp_Gender CHARACTER(10) NOT NULL, Emp_Address VARCHAR (36) NOT NULL, Emp_Manager VARCHAR (13) , Job_Type CHARACTER (10) NOT NULL, Emp_MonthlySalary NUMERIC (5) NOT NULL, Machine_Num NUMERIC(8) NOT NULL, Dept_Num NUMERIC(8) NOT NULL, Dept_Name CHARACTER (8) NOT NULL, -- This indicates which attribute(s) uniquely identify each row of data. CONSTRAINT pk_Employee PRIMARY KEY (Emp_NINO));
Insert Into Employee Values (‘SJ 58 82 40 D’,’Jonson’,’Luigi’,’Male’,’23 Denmark Hill’,London,SE14 8PT’,’AC 68 32 10 G’,’Operator’,’600’,’16899’,’12468’,’ ESPRIMO’);
Insert Into Employee Values (‘KI 47 60 41 F’,’Maria’,Popa’,’Female’,’15 Lewisham Way,London,SE12 4NT’,’AC 68 32 10 G’,’Maintenance’,’1296’,’23778’, ‘12469’, ’CENTRINO’);
Insert Into Employee Values (‘DL 48 12 20 H’,’Emanuel’,’Gheorghe’,’Male’,’21 Amersham Road,London,W34 6DR’,’AC 68 32 10 G’,’Designer’,’2184’,’30657’, ‘12470’, ‘WINDOWS’);
Insert Into Employee Values (‘AC 68 32 10 G’,’Alice’,’Ciubotariu’,’Female’,’20 A Shardeloes Road,London,WE1 24RE’,’’,’Manager’,’2400’,’37536’, ‘12471’,’COMPASS’);
Insert Into Employee Values (‘WE 15 79 60 O’,’Mary’,’Rades’,’Female’,’12 New Cross Road,London,S24 6TU’,’AC 68 32 10 G’,’Designer’,’2772’,’44415’, ‘12472’,’SHELL’);
hi,i would kindly ask if anyone would know why my code only inserts the last 3 rows and not the first two.it gives me an error:01756 .it inserts the last three rows successfully,but not the first two,even if they are all the same format.Thx a lot!!!!!!