Question: I need to make a table for a detailed report that shows all the transactions each employee has done. I need to use information from

I need to make a table for a detailed report that shows all the transactions each employee has done. I need to use information from 2 tables "payment" has the "staff_id" and "amount" fields. The "staff" table has "staff_id", "first_name", "last_name", and "active". The last of which tells if the employee is active or not. I need a table that has the staff_id, first name, last name and active status on each row. How do I go about doing this in SQL?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!