FAILED: ParseException line 564:40 mismatched input ‘<EOF>‘ expecting ) near ‘null‘ in subquery sour
这是我在join两个sql查询时遇到的问题,当时检查了很多遍格式问题,发现并没有缺少‘)’,最后从头检查时才发现问题。问题原因:第一个子查询最后一个语句带了分号,终止了语句。wheredtbetween'$start_date'and'$end_date'andfeeisnotnull;)aajoin(select*from解决方法:去掉第一个子查询最后一个语句的分号。wheredtbetween