Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. SELECT c.companyID, c.companyDescription , c.companyName ,c.copmanyDrastiriotita, c.companyVisible
  2. FROM company c
  3. WHERE c.companyVisible = 1
  4. AND c.companyDescription LIKE '%Keyword%'
  5. OR c.companyName LIKE '%Keyword%'
  6. OR c.copmanyDrastiriotita LIKE '%Keyword%'
  7.  
  8. SELECT c.companyID, c.companyDescription , c.companyName ,c.copmanyDrastiriotita, c.companyVisible
  9. FROM company c
  10. WHERE c.companyVisible = 1
  11. AND (c.companyDescription LIKE '%Keyword%'
  12. OR c.companyName LIKE '%Keyword%'
  13. OR c.copmanyDrastiriotita LIKE '%Keyword%')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement