Select case when exists sql. Follow edited Oct 30 .