Query editor
SELECTCAST(json_extract_scalar(item, '$.player') AS varchar) AS player,CAST(json_extract_scalar(item, '$.games_played') AS bigint) AS games_played,CAST(json_extract_scalar(item, '$.wins') AS bigint) AS wins,CAST(json_extract_scalar(item, '$.kills') AS bigint) AS killsFROM UNNEST(CAST(json_extract(json_parse(http_get('https://tanksfun-indexer-production.up.railway.app/dune/metrics/leaderboard')),'$.rows') AS array(json))) AS t(item)ORDER BY wins DESC;