SELECT a.id AS id, SUBSTR(a.`content`,1,20) AS `content`, a.topic AS topic FROM articles a, votings v WHERE v.parent_type='articles' AND v.type IN ('proposition','popularity') AND v.parent_id=a.id ORDER BY a.`value` DESC LIMIT 0, 5
Jako wynik dostaję prawidłową tabelę z id i topic, ale pole content jest zawsze puste. Problem znika, gdy usuwam z kwarendy ORDER BY a.`value` DESC.
Może jakiś pomysł dlaczego tak się dzieje i jak tego uniknąć?