Interview Answer

Any code of your own that you haven't looked at for six or more months might as well have been written by someone else. Eagleson law

Delete the data from table

April 12, 2016 7:26 pm

Comments



Delete the data from table



												desc suppliers;
												
												Name           Null     Type         
												-------------- -------- ------------ 
												EMPLOYEE_ID    NOT NULL NUMBER(6)    
												FIRST_NAME              VARCHAR2(20) 
												LAST_NAME      NOT NULL VARCHAR2(25) 
												EMAIL          NOT NULL VARCHAR2(25) 
												PHONE_NUMBER            VARCHAR2(20) 
												HIRE_DATE      NOT NULL DATE         
												JOB_ID         NOT NULL VARCHAR2(10) 
												SALARY                  NUMBER(8,2)  
												COMMISSION_PCT          NUMBER(2,2)  
												MANAGER_ID              NUMBER(6)    
												DEPARTMENT_ID           NUMBER(4)  

												

The following query delete the employee


Solution

   					 
												DELETE FROM suppliers
												WHERE employee_id = 100;
												commit;
																    

Comments



Please login to add comments.