Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个超过六百万行的表,我想查询它们并将结果保存为谷歌表格文档,但我不知道如何。
我也想知道如何将结果保存为数据库中的新表
这里的代码应该能够从您的查询中创建一个新表。
CREATE TABLE new_table AS SELECT expressions FROM existing_tables [WHERE conditions];
关于数据传输,我建议使用转换器网站,例如 sql 到 xlsx,然后在 Google 驱动器中打开 xlsx 文件,这至少是我将数据从 SQL 移动到 Google 驱动器或 Excel 的方式。