sql interface 1