select count(*) as recordcount from part_words where words_unit = 'unit2' Or words_unit='unit1'
或者:
select count(*) as recordcount from part_words where words_unit like 'unit[123]'
或者:
select count(*) as recordcount from part_words where words_unit like 'unit[123]'
可以用or把这几个连起来吧
比如
select count(*) as recordcount from part_words where words_unit = 'unit2' or words_unit='unit1'