Add ability to use a sql that return more than one tuple