3
I wanted to convert this query how to use it in DB Facades Lavarel
SELECT FIND_IN_SET(KillCount, (SELECT GROUP_CONCAT(KillCount ORDER BY KillCount DESC) FROM users)) AS Rank FROM users WHERE id = 1
It takes the player’s rank position in the order of Kills from the entire server.
Updating
When using the whereRaw, as suggested, the following error occurs
For before he makes the montage of SELECT *

Good afternoon, young man. I could copy the code of the error generated and post here, so we can format it in a more appropriate way?
– Wallace Maxters