Date类型添加出现这样的错误提示是因为什么呢

SELECT * FROM date_table WHERE u_date<>‘2000-01-01’ and u_date < ‘2019-12-21’;

  • 10 | 1950-02-02
  • 6 | 2016-02-29
  • 7 | 1970-01-01
    – below are some requests executed before(partial) –
    – init data
    CREATE TABLE date_table(id int, u_date date);
    CREATE INDEX index_id on date_table(u_date);
    INSERT INTO date_table VALUES (1,‘2020-01-21’);
    INSERT INTO date_table VALUES (2,‘2020-10-21’);
    INSERT INTO date_table VALUES (3,‘2020-1-01’);
5 个赞

报错不全,没有显示出具体的报错信息

3 个赞

有"<>"这个运算符么,不等于一般是“!=”吧

4 个赞

报错信息呢

3 个赞

签到…

1 个赞

详细的报错信息。

看不到报错


显示的报错是这样的