Interview Answer

The trouble with programmers is that you can never tell what a programmer is doing until itís too late. Seymour Cray

Delete the data from table

January 1, 1970 12:00 am

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.