Guest User

Untitled

a guest
Dec 13th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. id user_id date
  2. 1 10 2018-12-13
  3. 3 11 2018-11-29
  4. 4 12 2018-12-05
  5.  
  6. SELECT * FROM table WHERE IN(10,11,12) AND date > 2018-11-15
  7.  
  8. id user_id date
  9. 1 10 2018-12-13
  10. 2 10 2018-12-01
  11. 3 11 2018-11-29
  12. 4 12 2018-12-05
  13. 5 12 2018-12-06
  14.  
  15. id user_id date
  16. 1 10 2018-12-13
  17. 3 11 2018-11-29
  18. 4 12 2018-12-05
Add Comment
Please, Sign In to add comment