Answer the question
In order to leave comments, you need to log in
How to display those fields where one or two words?
You need to select only those data from the table where the field contains one or two words.
I tried to write in SELECT like this: WHERE (NAME LIKE '__% __%');
but it displays and where are three words, etc.
Answer the question
In order to leave comments, you need to log in
If you need a bicycle, then "one or two words" means "the number of spaces (excluding leading and trailing) < 2" In general, Oracle has had REGEXP_LIKE
for such things since time immemorial .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question