Improve the SQL favorites function, it should be pasted new query editor.