SELECT COUNT(*) AS cpt, MAX(t.pos) AS max_pos. FROM `my_table` LEFT JOIN `other_table` AS t. WHERE `somecol` IS NOT NULL ORDER BY t.other_col DESC ...
確定! 回上一頁