I am trying to get from table all records, that have in column only one -.
select ta.name, ta.created from tol.order ta
where ta.name similar to '%-{1}%' and ta.created > '2018-05-01'
But have no success.
For instance I should get all records with name like:
'test-testtest'
but NOT like
'test-test-test'
Thanks for any advise and help.