Files
Sitzplatzbuchungstool/pages/Sitzplätze/queries/BookSeatSQL/BookSeatSQL.txt
T
2026-08-14 07:59:25 +00:00

27 lines
429 B
Plaintext

SELECT
id,
platz_id,
titel AS title,
startzeit AS start,
endzeit AS end,
gebucht_von
FROM `buchungen`
WHERE platz_id = '{{appsmith.store.selectedSeatId}}'
ORDER BY startzeit;
INSERT INTO `buchungen`
(
id,
titel,
startzeit,
endzeit,
gebucht_von
)
VALUES
(
'{{appsmith.store.selectedSeatId}}',
'{{InputTitel.text}}',
'{{InputStartzeit.text}}',
'{{InputEndzeit.text}}',
'{{InputGebuchtVon.text}}'
);