INNER JOIN syntax for mySQL using phpmyadmin
        Posted  
        
            by David van Dugteren
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by David van Dugteren
        
        
        
        Published on 2010-05-28T02:06:37Z
        Indexed on 
            2010/05/28
            2:11 UTC
        
        
        Read the original article
        Hit count: 664
        
SELECT Question.userid, user.uid
FROM `question`
WHERE NOT `userid`=2
LIMIT 0, 60
INNER JOIN `user`
ON `question`.userid=`user`.uid
ORDER BY `question`.userid
returns Error:
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 'INNER JOIN User ON question.userid=user.uid ORDER BY question.userid' at line 5
Can't for the life of me figure out what I'm doing wrong here.
© Stack Overflow or respective owner