Model Files
Functions that output model files save them on the user schema on the ML Engine.
Nonmodel Output Files
By default, functions save nonmodel output files to the user database. To save an output table to a different database, prefix the table name with the database name; for example:
SELECT * FROM UnivariateStatistics ( ON abc_table AS InputTable OUT TABLE MomentsTableName (db1.moments) OUT TABLE BasicTableName (db1.basic) OUT TABLE QuantilesTableName (db1.quantiles) ) AS dt;