Return the day Number and stored date for all the documents.
select t2.day_number, t1.date_stored from all_documents as t1 join ref_calendar as t2 on t1.date_stored = t2.calendar_date