SQL: add multi-index support to legacy mode

and at once also index_label kwarg support