SELECT *
FROM booking
CASE
WHEN Travel_Date <= getDate() THEN 'Past Travel
ELSE 'Future'
END AS 'Has travel happened'
Beatrice
質問する
40 次
SELECT *
FROM booking
CASE
WHEN Travel_Date <= getDate() THEN 'Past Travel
ELSE 'Future'
END AS 'Has travel happened'