# 执行sql, 注意要以;结束 SELECT * FROM generate_series(5);
# 执行sql脚本 .read write_markdown_to_file.sql
# 输出为md格式(展示在stdout) .mode markdown .output series.md SELECT * FROM generate_series(5);
简单应用举例
1 2 3 4 5 6 7
COPY ( select * from 'api_list_cdn.csv' where API NOT in ( select distinct 接口名称 from 'recent_api_call.csv' ) AND 在线状态 = '在线' ) TO 'api_filter_output.csv' (HEADER, DELIMITER ",");