提交 35df6265 创建 作者: 王晓庆's avatar 王晓庆

1

上级 f1e75e50
流水线 #118577 已通过 于阶段
用时 27 秒
print u'创建一个视图V_CUSTAVGORDER,按顾客统计每个订单的购买金额和零件数量,要求输出顾客编号,姓名,平均购买金额和平均购买零件数量' print '创建一个视图V_CUSTAVGORDER,按顾客统计每个订单的购买金额和零件数量,要求输出顾客编号,姓名,平均购买金额和平均购买零件数量'
USE TPCH USE TPCH
Go Go
......
...@@ -90,7 +90,8 @@ def my_msg_handler(msgstate, severity, srvname, procname, line, msgtext): ...@@ -90,7 +90,8 @@ def my_msg_handler(msgstate, severity, srvname, procname, line, msgtext):
Our custom handler -- It simpy prints a string to stdout assembled from Our custom handler -- It simpy prints a string to stdout assembled from
the pieces of information sent by the server. the pieces of information sent by the server.
""" """
print(yellow("%s" % msgtext.decode('utf-8'))) print(yellow("%s" % msgtext))
# print(yellow("%s" % msgtext.decode('utf-8')))
# 主函数 # 主函数
if __name__ == '__main__': if __name__ == '__main__':
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论