Created SQL repository interface.