select asin_brand_name, 1 as asin_is_alarm from (select lower(trim(brand_name)) as asin_brand_name from brand_alert_erp where brand_name is not null) t group by asin_brand_name"""
doris_sql="SELECT DISTINCT LOWER(TRIM(brand_name)) AS asin_brand_name FROM selection.brand_alert_erp WHERE brand_name IS NOT NULL"