SQL to calculate time since last message?

Primary tabs