Table: doppler_specs
Columns: stellar_mass_m
planetary_mass_m
lum_l_0
type
rhab_au
rv_cm_s
period_days

Question: What is the total stellar mass of the type m0?
SQL: SELECT SUM("stellar_mass_m") FROM doppler_specs WHERE "type" = 'm0'

Question: What is the highest planetary mass having an RV (cm/s) of 65 and a Period (days) less than 21?
SQL: SELECT MAX("planetary_mass_m") FROM doppler_specs WHERE "rv_cm_s" = 65 AND "period_days" < 21

Question: What is the smallest period (days) to have a planetary mass of 1, a stellar mass greater than 0.21 and of the type M0?
SQL: SELECT MIN("period_days") FROM doppler_specs WHERE "planetary_mass_m" = 1 AND "stellar_mass_m" > 0.21 AND "type" = 'm0'