The novelty resides in generating the underlying SQL sketch first, followed by the generation of the full SQL statement using a dual-encoder model conditioned by both the sketch and the query in natural language.
the main challenge for solving the more complex queries in SENLIDB is the generation of the correct SQL sketch corresponding to a query.