How do I convert this mysql query to Laravel query:
SELECT 'uniqueid', SUM('points')
FROM (SELECT 'uniqueid', MAX('points') as points FROM 'resulttablebackups'
WHERE 'seriesid'='70' and 'amountpaid'>0 GROUP BY 'uniqueid', 'matchid') as points
GROUP BY 'uniqueid'
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire