I have a query with the following fields extracted from two tables:-
ID
Activity_type( can be Garbage removal, Tug, Towing, Ship_Chandling)
App_num ( approval number for each job done)
Ship_Name (name of ship)
Cost_of_charge_put (charge for each activity_type)
The Ship_Name and App_num( there is one app_num associated with a Ship_Name) will repeat as two or more of the same activity can be performed for a Ship_Name/App_num) In brief I want to find out all Garbage removal cost for a particular Ship_Name) . How should I design my query to achieve this
ID
Activity_type( can be Garbage removal, Tug, Towing, Ship_Chandling)
App_num ( approval number for each job done)
Ship_Name (name of ship)
Cost_of_charge_put (charge for each activity_type)
The Ship_Name and App_num( there is one app_num associated with a Ship_Name) will repeat as two or more of the same activity can be performed for a Ship_Name/App_num) In brief I want to find out all Garbage removal cost for a particular Ship_Name) . How should I design my query to achieve this