Ansicht Individuals
Abfrage
SQL
SELECT
M."Mandant", M."ID",
1 AS "Type", M."Vorname", M."Nachname", M."Strasse",
M."Land", M."PLZ", M."Ort", M."Telefon", M."Email"
FROM "Personen" M
UNION
SELECT
M."Mandant", M."ID",
2 AS "Type", M."Vorname", M."Nachname", M."Strasse",
M."Land", M."PLZ", M."Ort", M."Telefon", M."Email"
FROM "Lehrer" M
UNION
SELECT
M."Mandant", M."ID",
3 AS "Type", M."Vorname", M."Nachname", M."Strasse",
M."Land", M."PLZ", M."Ort", M."Telefon", M."EMail"
FROM "Schueler" M
UNION
SELECT
M."Mandant", M."ID",
4 AS "Type", M."Vorname", M."Nachname", M."Strasse",
M."Land", M."PLZ", M."Ort", M."TelefonPrivat", M."Email"
FROM "Sorgeberechtigte" M
Spalten
Diese Ansicht hat 11 Spalten.
Mandant-
Verweis auf Tabelle Mandanten
ID-
Mandantenbezogene, eindeutige ID
Type-
Wert Beschreibung 1 Person 2 Lehrer 3 Schüler 4 Sorgeberechtigte FirstnameLastnameStreetStateZipCodeCityPhoneEmail