Помогите соединить эти запросы. $user_flag3="SELECT login, SUM(money) as maney3 FROM tb_history WHERE flag='3' GROUP BY login"; $user_flag5="SELECT login, SUM(money) as maney5 FROM tb_history WHERE flag='5' GROUP BY login";