SQL and first instance of service