List by their id all businesses that are open on Sunday.
day_of_week = 'Sunday'; open on Sunday refers to day_id = 1
SELECT T1.business_id FROM Business_Hours AS T1 INNER JOIN Days AS T2 ON T1.day_id = T2.day_id WHERE T1.day_id = 1