Hi everyone, I was wondering if there was an easy way to write data to a database from the results of a query, like the equivalent of the follow SQL statement:
CREATE TABLE table_x AS SELECT * FROM table_y;
or perhaps
INSERT INTO table_x SELECT * FROM table_y;