To do so, we use a script to remove (and later fill in) all the table/column names and value tokens in the labeled question-SQL pairs, and then group together the same SQL query patterns.
each SQL query pattern has a list of about 5-20 corresponding questions.