Google BigQuery queries which made for creating input dataset