select tablename.col as col from tablename

解决方案 »

  1.   

    select "col" from tableName
    但建立表的時候最好不要使用關鍵字
      

  2.   

    select "col" from tableName
    但建立表的時候最好不要使用關鍵字
      

  3.   

    试了以下方法,都不行: select 'col' from tablename;select "col" from tablename;select [col] from tablenameselect tablename.col from tablename;
      

  4.   

    create table a("col" varchar2(20));
    select "col" from a;
      

  5.   

    select "COL" from tablename;COL upper case