I'd like one of my hole cards to equal fourth pair.

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

I'd like one of my hole cards to equal fourth pair.

Postby Jackntigger » Sun Sep 24, 2023 6:57 am

Hi, Using LEAST, I can make one of my hole cards equal bottom pair like this:

cash_hand_player_statistics.holecard_1%13=LEAST(cash_hand_summary.card_1%13,cash_hand_summary.card_2%13,cash_hand_summary.card_3%13,cash_hand_summary.card_4%13,cash_hand_summary.card_5%13)
OR
cash_hand_player_statistics.holecard_2%13=LEAST(cash_hand_summary.card_1%13,cash_hand_summary.card_2%13,cash_hand_summary.card_3%13,cash_hand_summary.card_4%13,cash_hand_summary.card_5%13)

Is there a subquery I can run to remove the least highest board card and then re-run to match one of my hole cards with the new least board card, which would be fourth pair instead of fifth pair?
Jackntigger
 
Posts: 84
Joined: Fri May 08, 2015 10:35 pm

Re: I'd like one of my hole cards to equal fourth pair.

Postby Flag_Hippo » Mon Sep 25, 2023 5:05 am

Unfortunately I don't know if that's feasible although if a PostgreSQL expert sees this then they might be able to offer suggest something.
Flag_Hippo
Moderator
 
Posts: 15232
Joined: Tue Jan 31, 2012 7:50 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: hball311331 and 9 guests

cron