1. 오늘 배운 내용 select discount_class_cd_id , ( select a.minor_name from minor_codes a , major_codes b where a.major_code_id = b.major_code_id and b.major_code = 'discount_class' and a.use_yn = 'Y' and b.use_yn = 'Y' and b.account_id = 1 and a.minor_id = discount_class_cd_id ) as discount_class_name , from_date , to_date , from_time , to_time -- 영업구분 ?? , day_scd , ( select name from s_codes where g..