试试这样 select t.date from history_sp t

解决方案 »

  1.   

    select "DATE" from history_sp;试试
      

  2.   

    把关键字改为,如date1。
    用date是错误的!
      

  3.   

    select * from history_sp;报错?
      

  4.   

    试试建立另一个与此表结构相同的表:
    create table history_sp0 (field1,field2,...,date1,...) as select * from history_sp;
      

  5.   

    select DATE_ from history_sp;
      

  6.   

    SQL> create table test3 (date varchar2(40));create table test3 (date varchar2(40))ORA-00904: invalid column nameSQL>