mysql - SQL Like Operator -


expected output:

enter image description here

how can run query returns "robot" followed year between 2000 , 2099? (so 2015 valid value @ end, 2123 not.)

enter image description here

select name robots name '%robot 20__%' 

if there might other characters after 20 need regexp:

select name robots  name regexp 'robot 20[0-9][0-9]' 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -