Last Assignment Solution
Last Assignment Solution
3. Display the employees Id, name who earns more than 1000 LE
monthly.
select SSN,Fname from Employee where Salary>1000
COLUMN ID NAME
NAME
Default value Not available 'Ali'
DATATYPE integer Varchar
LENGTH 25
12. List the last name of all employees who have no supervisor.
select Lname from Employee where Superssn is null
insert into
Employee(Fname,Lname,SSN,BDATE,Addresss,Sex,Dno)
values('Rasha','Ahmed',102660,'11-14-
1980','Alex','F',30)
3. In the department table insert new department called "DEPT IT" ,
with id 100, employee with SSN = 112233 as a manager for this
department. The start date for this manager is '1-11-2006'
6. And your salary has been upgraded by 20 present of its last value.
update Employee set Salary=Salary+Salary*20/100 where
SSN=102672