How do I say in SQL server for these days in this table, repeat the information of previous day from another table?