Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7953017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:02:13+00:00 2026-06-04T03:02:13+00:00

BigQuery does not seem to have support for UNION yet: https://developers.google.com/bigquery/docs/query-reference (I don’t mean

  • 0

BigQuery does not seem to have support for UNION yet:
https://developers.google.com/bigquery/docs/query-reference

(I don’t mean unioning tables together for the source. It has that.)

Is it coming soon?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T03:02:16+00:00Added an answer on June 4, 2026 at 3:02 am

    If you want UNION so that you can combine query results, you can use subselects
    in BigQuery:

    SELECT foo, bar 
    FROM
      (SELECT integer(id) AS foo, string(title) AS bar 
       FROM publicdata:samples.wikipedia limit 10),
      (SELECT integer(year) AS foo, string(state) AS bar 
       FROM publicdata:samples.natality limit 10);
    

    This is almost exactly equivalent to the SQL

    SELECT id AS foo, title AS bar 
    FROM publicdata:samples.wikipedia limit 10
    UNION ALL
    SELECT year AS foo, state AS bar 
    FROM publicdata:samples.natality limit 10;
    

    (note that if want SQL UNION and not UNION ALL this won’t work)

    Alternately, you could run two queries and append the result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In PostgreSQL I have a query like the following which will delete 250k rows
What is best practice, what delivers the best performance? I currently have a query
I have a really big query in which makes some troubles for me because
In SQL Server 2005, I have a query that involves a bunch of large-ish
I have a pretty big query to pull out the information about reports from
I have big query based datamodel, and I wish to display results of Linq
I have a pretty big query, that is generated in in a script, to
I have a query which takes a long time and I want to optimize
I have a big query and I am tring to improve it part by
i'm using a maven project with following dependency : <dependency> <groupId>com.google.api.client</groupId> <artifactId>google-api-client-googleapis-auth-clientlogin</artifactId> <version>1.2.3-alpha</version> </dependency>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.