I see that some sites in the Google search results have a matching page for almost any combination of specific keywords and locations. They also actually contain the search query within the page:
We provide you services for << my search query >>
How is that possible? Do they have pre-generated pages for a list of keywords and locations? Or is there some way to dynamically compute the pages? In that case. How would the dynamic pages be in the Google results?