我的问题是:
select CASE IF(DATE(Stud40.Start_DT) > '0001-01-01')
THEN Stud40.Start_DT
ELSE IF(Stud40.Start_DT IS NULL)
THEN Stud50.Start_DT
ELSE Stud.Start_DT END AS "Stud_joining_DT",
我的错误是:
SQL Error [42601]: ILLEGAL SYMBOL ">". SOME SYMBOLS THAT MIGHT BE LEGAL ARE:. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.9.78
1条答案
按热度按时间ni65a41a1#
使用
case
:为什么要在列别名中加空格?