|
and see how we can form different groups.
|
|
Solution:
Here are the employees and their department: select fname, lname, dname from employee, department where dno=dnumber order by dname fname lname dname ------ -------- --------------- Alicia Zelaya Administration Jennif Wallace Administration Ahmad Jabbar Administration James Borg Headquarters Frankl Wong Research Ramesh Narayan Research Joyce English Research John Smith Research |
|
Solution:
Here are the employees and their department: select fname, lname, sex, dname from employee, department where dno=dnumber fname lname sex dname ------ -------- ------ --------------- Alicia Zelaya F Administration Jennif Wallace F Administration Ahmad Jabbar M Administration James Borg M Headquarters Frankl Wong M Research Ramesh Narayan M Research Joyce English F Research John Smith M Research |
|
Solution:
Employees, their dept and salary: select ssn, fname, dname, salary from employee, department where dnumber = dno ssn fname dname salary --------- ------ --------------- --------- 999887777 Alicia Administration 25000.00 987654321 Jennif Administration 43000.00 987987987 Ahmad Administration 25000.00 888665555 James Headquarters 55000.00 333445555 Frankl Research 40000.00 666884444 Ramesh Research 38000.00 453453453 Joyce Research 25000.00 123456789 John Research 30000.00 |