In generating colums for statistics, does it matter in which order the expressions are written in terms of the execution speed of the SQL query?
Example: Number of hands where money was voluntarily into the pot on the button
1) sum(if[holdem_hand_player_statistics.flg_vpip and holdem_hand_player_statistics.position = 0, 1, 0])
2) sum(if[holdem_hand_player_statistics.position = 0 and holdem_hand_player_statistics.flg_vpip, 1, 0])
Are these two exactly equivalent in execution time? Does the PT3 parser reorder things appropriately to produce an optimised SQL query? If not, in what order should these types of expressions be written?
