a guest Aug 17th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select h.*, t.*, lastname, firstname,o.idomi, o.omiid from tblHouses h inner join tblhousetype t on h.type=t.housetypecode
  2. inner join tblOmi o on h.idhouse=o.idomi
  3. where type='p' and o.DateOfLeaving is null
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