extended sql interface