16.20 - 例 - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL日付と時刻の関数および式

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
プログラミング リファレンス
featnum
B035-1211-162K-JPN
ename period1 period2
Adams ('2005-02-03 10:10:10.1', '2007-02-03 10:10:10.1') ('2004-02-03 10:10:10', '2006-02-03 10:10:10')
Paul ('2004-02-03 10:10:10.1', '2006-02-03 10:10:10.1') ('2005-02-03 10:10:10', '2007-02-03 10:10:10')
James ('2004-03-03 10:10:10.1', '2006-01-03 10:10:10.1') ('2004-02-03 10:10:10', '2006-02-03 10:10:10')
Mary ('2007-04-02 10:10:10.1', '2008-01-03 10:10:10.1') ('2005-02-03 10:10:10', '2006-02-03 10:10:10')
(period2 P_INTERSECT period1)
('2005-02-03 10:10:10.1', '2006-02-03 10:10:10.0')