(2017 apply an attention based seq2seq model similar to (Luong et al., 2015) to text-to-SQL tasks.
by passing the SQL history, each module is able to predict a different output according to the history every time it is called during the recursive SQL generation process.