SQL running very slow

Original text of this message