Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. SELECT * FROM View1 WHERE (View1.ID=View2.ID) OR ((View1.Epoch_Start BETWEEN
  2. View2.Epoch_Stop AND (View2.Epoch_Stop+5)) AND View1.String LIKE '%string%'
  3.  
  4. SELECT *
  5. FROM
  6. View1 JOIN
  7. View2 ON
  8. (View1.ID=View2.ID)
  9. OR (View1.Epoch_Start BETWEEN View2.Epoch_Stop AND (View2.Epoch_Stop+5))
  10. WHERE View1.String LIKE '%string%'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement