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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:48:29+00:00 2026-06-13T08:48:29+00:00

Quick question, just wondering if anyone can see where the syntax error is in

  • 0

Quick question, just wondering if anyone can see where the syntax error is in this LEFT JOIN?

SELECT
...
FROM table1 AS t1, table2 AS t2, table3 AS s3
table4 AS t4, table5 AS t5 LEFT JOIN table6 AS t6 ON t5.id = t6.t5_id
AND t6.etc
ORDER BY ...

I can only presume it doesn’t like the t1,t2,t3,t4 preceeding the LEFT JOIN ont5 & t6

Error description

You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near 'table4 AS t4, table5 AS t5  LEFT JOIN table6 AS t6 ON ON t5.id = t6' at line 26*
  • 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-13T08:48:30+00:00Added an answer on June 13, 2026 at 8:48 am

    You don’t have a comma “,” behind table3 as s3

    table3 as s3,
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey just a quick question for anyone who has done this. I want to
I was wondering if anyone could answer me this quick question. I tried searching
Just a quick question, wondering if objects retrieved from the service container in Symfony2
This is just a quick question. As I understand it, code from a static
Current PHP version 4.3.8 Quick question: just wondering if i can enable the soap
This is just a quick question to understand correctly what happens when you create
This is just a quick question in C#. I have a scenario where I
just a quick question, was trying different ways to accomplish this, but ended with
I have a quick question that I just can't seem to figure out even
A quick question involving PHP development, I seem to be wondering about this more

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.