lundi 3 septembre 2018

Mysql querry to laravel querry

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