SQL course project -- interface for db