NLP can change the way how we are writing SQL queries. Recen research from Facebook shows us how to accomplish this. Maybe it is not perfect, but can be used as a shortcut to generate initial SQL query than in addition can be modified and optimized.
Few datils about this Facebook research:
And something simmilar from Stanford NLP:
And at the end: quess what, BERT is in action again 🙂