Talkiatry interview question

Calculate average time between appointments using SQL on a mock dataset