mysql - #1064 - You have an error in your SQL syntax: What is wrong with this query? -



mysql - #1064 - You have an error in your SQL syntax: What is wrong with this query? -

please have @ below query.

select sub_words.idwords, words_inc.idarticle ( select sub0.idwords, substring_index(group_concat(sub1.idwords), ',', 10) excl_words, count(sub1.idwords) older_words_cnt words_learned sub0 left outer bring together words_learned sub1 on sub0.userid = sub1.userid , sub0.order < sub1.order sub0.userid = 1 grouping sub0.idwords ) sub_words inner bring together words words_inc on sub_words.idwords = words_inc.idwords left outer bring together words words_exc on words_inc.idarticle = words_exc.idarticle , find_in_set(words_exc.idwords, sub_words.excl_words) words_exc.idwords null order older_words_cnt limit 100

this gives error

#1064 - have error in sql syntax; check manual corresponds mysql server version right syntax utilize near 'select sub0.idwords, substring_index(group_concat(sub1.idwords), ',', 10) exc' @ line 3

i checked sub query individually , there no error in sub query! going on here?

you missed from keyword

select sub_words.idwords, words_inc.idarticle ( ...

mysql sql select join subquery

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -