Moreover,<cite> Finegan-Dollak et al. (2018)</cite> demonstrated that the sequence-tosequence model also lack the ability to generate SQL queries of unseen templates. In this work, we propose an extension of a template-based model with one-shot learning, which can generate SQL queries of untrained templates based on a single example.