比如执行了
select a,b,c from table where d = '123';
可以有什么渠道或统计信息,知道这个语句用到了 table 表的 a,b,c,d 吗?
多表联查呢?
比如执行了
select a,b,c from table where d = '123';
可以有什么渠道或统计信息,知道这个语句用到了 table 表的 a,b,c,d 吗?
多表联查呢?
如果用python访问可以做到
import psycopg2
cur.execute(v_sql)
col_names= [row[0] for row in cur.description]
print('\t|\t'.join(col_names))
table表的abcd是什么意思?请再描述