Guest User

Untitled

a guest
Dec 11th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. update dbo.VolnaMista set
  2. OborId = 1
  3. where lower(ProfeseNazev) like '%matemat%'
  4. and OborId is null
  5.  
  6. update dbo.VolnaMista set
  7. OborId = 2
  8. where lower(ProfeseNazev) like '%geo%'
  9.  
  10. update dbo.VolnaMista set
  11. OborId = 3
  12. where lower(ProfeseNazev) like '%karto%'
  13.  
  14. update dbo.VolnaMista set
  15. OborId = 4
  16. where lower(ProfeseNazev) like '%chem%'
  17.  
  18. update dbo.VolnaMista set
  19. OborId = 5
  20. where lower(ProfeseNazev) like '%biolo%'
Add Comment
Please, Sign In to add comment