Files
sql_advanced/lab2-8-test/task9.sql
T
Vitalii Litvinchuk 6deed0469a first commit
2026-05-04 23:15:09 +03:00

13 lines
691 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#################################################
################ Завдання 9 ###################
--------------------------------------------------
1. Створіть запит, використавши відповідну стрічкову функцію для відображення списку
деталей замовлення ("Booking Details") у такому вигляді:
"ID: 13, Date: 2021-11-11, Number of guest: 5"
--------------------------------------------------
2. Здійсніть вивід даних
select CONCAT(
'ID: ', BookingID, ', Date: ', BookingDate, ', Number of guest: ', NumberOfGuests
) as BookingDetails
from Bookings;