写入txt文件
def text_save(filename, data):#filename为写入txt文件的路径,data为要写入数据列表.
file open(filename,a)
for i in range(len(data)):
s str(data[i]).replace([,).replace(],)#去除[],这两行按数据不同,可以选择
s s.replace(&quo…
第 6 章:查询
6.1 基本语法及执行顺序
1、查询语句语法
select_expr, select_expr, ...
FROM table_reference
[WHERE where_condition]
[GROUP BY col_list]
[ORDER BY col_list]
[CLUSTER BY col_list| [DISTRIBUTE BY col_list] [SORT BY col_list]]
[LIMIT n…