rql #9998 bad rql yields sql syntax error [rejected]

sample:

rql = 'Any F,N ORDERBY N WHERE F is Folder, F name N, R name "fr", F filed_under RF'

sql = 'SELECT FROM VersionedFile AS R WHERE R.name=:66684016'

was http://www.cubicweb.org/ticket/7952

prioritynormal
typebug
done in<not specified>
load0.000
load left0.000
closed by<not specified>