MySQL Forums
Forum List  »  General

Re: Join and Not Equal to results
Posted by: Brian LaMaster
Date: February 07, 2017 07:26AM

I appreciate the response. I made changes and I'm getting this error.

#1064 - 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 't2. FROM 'Orders01' JOIN 'Orders02' ON t2.OrderNumber = t1.OrderNumber AND t' at line 1


SELECT t1.,t2.
FROM 'Orders01' t1
INNER JOIN 'Orders02' t2 ON
t2.OrderNumber = t1.OrderNumber
AND t2.LineItemName = t1.LineItemName
AND t2.LineItemQuantity <> t1.LineItemQuantity

Options: ReplyQuote


Subject
Written By
Posted
February 03, 2017 08:06AM
Re: Join and Not Equal to results
February 07, 2017 07:26AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.