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

  • Home
  • SEARCH
  • 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 3978118
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:00:24+00:00 2026-05-20T05:00:24+00:00

I am trying to do a multiple join like this SELECT * FROM (((Customer

  • 0

I am trying to do a multiple join like this

SELECT * FROM (((Customer FULL JOIN Booking ON Customer.ID = Booking.CustID) 
FULL JOIN Flight ON Booking.FlightID = Flight.ID) 
FULL JOIN FlightRoute ON Flight.RouteID = FlightRoute.ID)

But it is syntactically incorrect according to mysql. Please help

  • 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-20T05:00:25+00:00Added an answer on May 20, 2026 at 5:00 am

    There is no FULL JOIN in MySQL. It’s convoluted but a FULL JOIN is equivalent to a UNION ALL between a LEFT JOIN and a RIGHT JOIN, using a condition to remove duplicates. It’s late in the day and the thought of your 3 FULL JOINs in that statement is hurting my head.

    You do say in Conrad Frix’s answer that removing the FULL makes it work, if it does then you have misunderstood how FULL JOINs and INNER JOINs work.

    For the first FULL JOIN it would look like:

    SELECT * FROM Customers c
       LEFT JOIN Booking b ON c.ID = b.CustId
    UNION ALL
    SELECT * FROM Customers c
       RIGHT JOIN Booking b ON c.ID = b.CustId
    WHERE c.ID IS NULL
    

    Use that basis to form the rest of your statements.

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

Sidebar

Related Questions

i asked this question around a single join or multiple (select n + 1)
i am trying to select information from my mysql database with this statement after
I'm trying to collect a sum of numbers from multiple rows like so: (Simplified
I'm trying to join multiple tables, but one of the tables has multiple records
I am trying to load multiple elements with the same name from XML into
SELECT * from `employees` a LEFT JOIN (SELECT phone1 p1, count(*) c, FROM `employees`
I have this query: SELECT p.text,se.name,s.sub_name,SUM((p.volume / (SELECT SUM(p.volume) FROM phrase p WHERE p.volume
I've got a MySQL query somewhat like the following: SELECT * FROM products LEFT
I'm trying to do a simple search query in php with: SELECT * FROM
I am using the following query to get the count from multiple tables:- SELECT

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.