vorstellung
This commit is contained in:
15
Vorstellung/hemsingskotten.sql
Normal file
15
Vorstellung/hemsingskotten.sql
Normal file
@ -0,0 +1,15 @@
|
||||
select m.anrede as anrede,
|
||||
m.vorname as vorname,
|
||||
m.nachname as nachname,
|
||||
m.adresszusatz as adresszusatz,
|
||||
m.strasse as strasse,
|
||||
m.plz as plz,
|
||||
m.ort as ort
|
||||
from mieter m,
|
||||
objekt o,
|
||||
wohnung w
|
||||
where m.einzug < curdate() and
|
||||
(m.auszug is null or m.auszug > curdate()) and
|
||||
m.wohnung = w.id and
|
||||
w.objekt = o.id and
|
||||
o.shortname = 'Hemsingskotten 38'
|
Reference in New Issue
Block a user