Ett oväntat fel inträffade: Unknown column 'ratio' in 'order clause'
SQL: /*relaterat*/ SELECT /* index */ paper.url as purl, paper.id as pid, paper.shortname as pname, article.date as adate, article.link as alink, article.id as aid, article.title as atitle, article.description as adesc, paper.show_description as show_desc, article.date_unixtime AS date_unixtime, SUM(vote.weight) AS votes, COUNT(article.id) as artiklar_antal FROM article LEFT JOIN paper ON(paper.id = article.paperid) LEFT JOIN vote ON (vote.article = article.id) WHERE article.id IN (10036939,10036937,10036425,1021811,10010153,6688171,7473375,7473467,7473704,10036922,6080995,6081042,7632198,7391900,8581688,9243572,9303426,6082297,6634379,7581097,7730685,8382900,8383642,8462685,8516264) GROUP BY article.title ORDER BY ratio, adate DESC