It's my table rows:
++ id ---- text ++++++++++++++
-- 1 ---- '90','80,'50' -----
-- 2 ---- '30','2','1_2' --
-- 3 ---- '10_2','5_3' -----
as you see, text
contains 2 types of numbers, one doesn't have underscore, and the other does.
I want to select rows which have at least one number without underscore (type 1). Something like this: (result-set)
++ id ---- text ++++++++++++++
-- 1 ---- '90','80,'50' -----
-- 2 ---- '30','2','1_2' --
(3
is ignored)
How to do that? (I think it's possible with NOT LIKE
, but I don't know how to write)