CREATE TABLE Ref_calendar (day_Number VARCHAR, calendar_date VARCHAR)
CREATE TABLE All_documents (Date_Stored VARCHAR, date_stored VARCHAR)

What is the day Number and date of 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
SELECT "T2"."day_Number", "T1"."Date_Stored" FROM "All_documents" AS "T1" JOIN "Ref_calendar" AS "T2" ON "T1"."Date_Stored" = "T2"."calendar_date"