LTIMindtree Interview Question

How would you design an SQL bot that can take human language as input and return database query results?