I am trying to construct a query from the below data:
time user_id adver_id tactic_id time1 123 adv1 tac1 time2 123 adv1 tac1 time3 123 adv1