can anyone help me to convert this query into laravel 5:
SELECT `id`,`mobile_number`,`shortcode`,`chapter_id`,`message`
FROM tbl_votes
WHERE id in (SELECT MAX(id) from tbl_votes GROUP BY `mobile_number`, position_id)
Thanks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire