duration_by_decade_sql.Rd
collect all durations (not summarized) by decade, useful for histograms. Decade start/end dates come from a table 'decades' that must exist in the database
duration_by_decade_sql(mhw_table, use_end_date = FALSE)
character name of scenario table to use
boolean TRUE: use waves ending in the decade; FALSE: use waves starting in the deacde
character sql code to run