Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select h.*, t.*, lastname, firstname,o.idomi, o.omiid from tblHouses h inner join tblhousetype t on h.type=t.housetypecode
- inner join tblOmi o on h.idhouse=o.idomi
- where type='p' and o.DateOfLeaving is null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement