In MySQL I have a table called:
cities
which includes 2 columns: name
and population
and then I get the search results with this:
SELECT * FROM cities WHERE name LIKE '%Bu%' ORDER by population DESC LIMIT 2
And I get the Results Bucharest
, Budapest
.
How can I do this in Redis? I mean how can I create a similar structure and then how can I search for values?