Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DECLARE @students TABLE (firstname varchar(20), lastname varchar(20))
- INSERT @students
- VALUES
- ('John','Olson')
- ,('Richard','Hooton')
- ,('Tina','Trout')
- SELECT *
- FROM @students s
- WHERE s.firstname + s.lastname LIKE '%o%o%o%'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement