Skip to content

Commit

Permalink
ep_m2_inverts:provide aliases for summmed vars
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasquer committed Dec 17, 2024
1 parent f6ebffa commit 60354d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/endpoints/CreatePrivateEndpoints.sql
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,8 @@ species_name,
taxon,
reporting_name,
bfc.nominal size_class,
sum(total),
sum(biomass)
sum(total) as total,
sum(biomass) as biomass
from invert_sized m2
inner join bounded_fish_classes bfc on m2.size_class > bfc.lower_bound and m2.size_class <= bfc.upper_bound
group by survey_id,country,area,ecoregion,realm,location,site_code,site_name,latitude,longitude,survey_date,depth,geom,
Expand Down

0 comments on commit 60354d9

Please sign in to comment.