create table a
   uid int(10) unsigned auto...  comment '用户id'
   ...
select uid from a结果中显示uid的同时把'用户id'这个也显示出来

解决方案 »

  1.   

    --查看表的comment   
      select   *   from   all_tab_comments   where   table_name='大写表名';   
        
      --查看列的comment   
      select   *   from   all_col_comments   where   table_name='大写表名';  也可以从下面两个系统表中查出:   
        
      --查看表的comment   
      select   *   from   user_tab_comments   where   table_name='大写表名';   
        
      --查看列的comment   
      select   *   from   user_col_comments   where   table_name='大写表名';