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 991589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:08:02+00:00 2026-05-16T06:08:02+00:00

According to Google search: since MySQL does not support full outer join, it could

  • 0

According to Google search: since MySQL does not support full outer join, it could be simulated via union and/or union all. But both of these either remove genuine duplicates or show spurious duplicates.

What would be correct and efficient way?

This question seems relevant but couldn’t get the answer of it.

  • 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-05-16T06:08:03+00:00Added an answer on May 16, 2026 at 6:08 am

    You can use a LEFT JOIN and a RIGHT JOIN:

    SELECT * FROM tableA LEFT JOIN tableB ON tableA.b_id = tableB.id
    UNION ALL
    SELECT * FROM tableA RIGHT JOIN tableB ON tableA.b_id = tableB.id
    WHERE tableA.b_id IS NULL
    

    There is also some information on Wikipedia about this topic: Full outer join.

    The Wikipedia article suggests using a UNION in MySQL. This is slightly slower than UNION ALL, but more importantly it won’t always give the correct result – it will remove duplicated rows from the output. So prefer to use UNION ALL instead of UNION here.

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

Sidebar

Related Questions

According to the description of the Google Custom Search API you can invoke it
According to this question (and many many google search results), when we're in a
According to https://developers.google.com/fusiontables/docs/developers_reference OR operations are not allowed as part of filter conditions. So
According to docs at http://code.google.com/p/minify/wiki/UriRewriting $min_serveOptions['rewriteCssUris'] = false; I should be able to add
I am working with google map. According to requirements i need to set different
According to Google Analytics : The total combined length of any custom variable name
Is Eventbus more a Mediator or an Observer? According to Google, eventbus mediator gets
The Google App Engine has previously released a Search API, that allows you to
After some google search I find it! Prefix to Infix This algorithm is a
i search google for restyling tab control in WPF and i found many but

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.