a guest Feb 19th, 2020 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select j.EmployeeID, as ThemeID
  2. from json_populate_recordset(null::eisConsultationStudents, p_StudentIDs) j
  3. inner join eisEmployee e on j.EmployeeID = e.ID and e.IsActual
  4. left outer join eisCourseTheme ct on j.ThemeID = ct.ID
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand