You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are all three queries:
select sum(druplicoins), u.uid, u.name from (select sum(amount) as druplicoins, uid from pmb_bets p inner join field_data_field_question_status fqs on p.nid = fqs.entity_id where fqs.field_question_status_value = 1 group by uid union select sum(points) as druplicoins, uid from userpoints group by uid) tehsub inner join users u on tehsub.uid = u.uid group by u.uid, u.name ORDER BY SUM(druplicoins) DESC;
The text was updated successfully, but these errors were encountered:
It would be great to show:
Here are all three queries:
select sum(druplicoins), u.uid, u.name from (select sum(amount) as druplicoins, uid from pmb_bets p inner join field_data_field_question_status fqs on p.nid = fqs.entity_id where fqs.field_question_status_value = 1 group by uid union select sum(points) as druplicoins, uid from userpoints group by uid) tehsub inner join users u on tehsub.uid = u.uid group by u.uid, u.name ORDER BY SUM(druplicoins) DESC;
The text was updated successfully, but these errors were encountered: