dev: sql query & select bill by date