SQL from lecture on text searching, part 1