Advertisement
Guest User

lallalero

a guest
Aug 17th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement