+ 1

Please solve the question given below?????

staff is being paid by hourly basis staff.dbf field name type width staff_Id char. 4 name char 20 address char 20 rate numeric 6 working.dbf field name type. width staff_id. char 4 date date 8 hours numeric 2 1) list the staff with highest salary 2) find the no of days worked by all staff. in your display, list the name of the stass as well .fill the according to you in table and do the questions.

26th Jan 2017, 9:49 AM
Govind Pal
Govind Pal - avatar
6 Respostas
+ 2
You have completed the sql course and still can't solve this? I can solve this while flying blind and roasting sheep. No one will do your homework for you Govind Pal, but we will help if we see an effort.
26th Jan 2017, 10:13 AM
Ghauth Christians
Ghauth Christians - avatar
+ 2
For 1), think of a query that gets the maximum salary, and use it as a subquery: list all the staff whose salary equals that maximum. For 2) you have the hours and the staff_id in table working.dbf, and the relationship between staff_id and name into table staff.dbf. Try joining them together.
26th Jan 2017, 10:58 AM
Álvaro
+ 1
thank you Alvaro I will try
26th Jan 2017, 12:01 PM
Govind Pal
Govind Pal - avatar
0
thank you Gavin for sugession...
26th Jan 2017, 12:00 PM
Govind Pal
Govind Pal - avatar
0
thanks Alvaro I have solved the question....
26th Jan 2017, 12:53 PM
Govind Pal
Govind Pal - avatar
0
mean but honest responses
31st Jan 2017, 12:05 PM
Jide Alo
Jide Alo - avatar