You are on page 1of 1

SELECT dbo_fishing_ground.

ground_desc, Format([sdate],"yyyy") AS [Year],


Format([sdate],"mm") AS [Month], Format([sdate],"dd") AS [Day],
dbo_landing_center.landing_center, dbo_vessel.fishing_sector, dbo_vessel.boat_id,
dbo_gear.gear_desc, dbo_vessel.vesselname, dbo_vessel_unload.catch_total
FROM dbo_vessel RIGHT JOIN (dbo_landing_center RIGHT JOIN ((dbo_fishing_ground
RIGHT JOIN dbo_LC_FG_sample_day ON dbo_fishing_ground.ground_id =
dbo_LC_FG_sample_day.ground_id) RIGHT JOIN (dbo_gear RIGHT JOIN (dbo_gear_unload
RIGHT JOIN dbo_vessel_unload ON dbo_gear_unload.unload_gr_id =
dbo_vessel_unload.unload_gr_id) ON dbo_gear.gr_id = dbo_gear_unload.gr_id) ON
dbo_LC_FG_sample_day.unload_day_id = dbo_gear_unload.unload_day_id) ON
dbo_landing_center.land_ctr_id = dbo_LC_FG_sample_day.land_ctr_id) ON
dbo_vessel.boat_id = dbo_vessel_unload.boat_id;

You might also like