select * from user_views where view_name='BILLS_E';
获取视图中的所有字段信息
select text from user_views where view_name='BILLS_E';
我也 不知道这个获取的是什么
select * from user_col_comments where table_name='BILLS_E';
select COLUMN_NAME from user_col_comments where table_name='BILLS_E';
--*可选3个内容 TABLE_NAME COLUMN_NAME COMMENTS
这一条是查询字段名称的
select column_name from user_tab_cols where table_name='MTB';
获取表格内的字段名称
view_name='你的视图名称,要大写'
谢谢这位大兄dei
https://www.cnblogs.com/love540376/p/5015940.html
mysql中查询
select COLUMN_NAME,DATA_TYPE,COLUMN_COMMENT from information_schema.COLUMNS where table_name = 'store' and table_schema = 'fz';
谢谢另一位大兄dei
https://blog.youkuaiyun.com/caoPengFlying/article/details/78507331