To main content

TRANSQLATION: TRANsformer-based SQL RecommendATION

Abstract

The exponential growth of data production emphasizes the importance of database management systems (DBMS) for managing vast amounts of data. However, the complexity of writing Structured Query Language (SQL) queries requires a diverse range of skills, which can be a challenge for many users. Different approaches are proposed to address this challenge by aiding SQL users in mitigating their skill gaps. One of these approaches is to design recommendation systems that provide several suggestions to users for writing their next SQL queries. Despite the availability of such recommendation systems, they often have several limitations, such as lacking sequence-awareness, session-awareness, and context-awareness. In this paper, we propose TRANSQLATION, a session-aware and sequence-aware recommendation system that recommends the fragments of the subsequent SQL query in a user session. We demonstrate that TRANSQLATION outperforms existing works by achieving, on average, 22% more recommendation accuracy when having a large amount of data and is still effective even when training data is limited. We further demonstrate that considering contextual similarity is a critical aspect that can enhance the accuracy and relevance of recommendations in query recommendation systems.
Read the publication

Category

Academic chapter

Language

English

Author(s)

  • Shirin Tahmasebi
  • Amir H. Payberah
  • Ahmet Soylu
  • Titi Roman
  • Mihhail Matskin

Affiliation

  • SINTEF Digital / Sustainable Communication Technologies
  • Royal Institute of Technology
  • OsloMet - Oslo Metropolitan University

Year

2023

Publisher

IEEE (Institute of Electrical and Electronics Engineers)

Book

Proceedings 2023 IEEE International Conference on Big Data Dec 15 - Dec 18, 2023 • Sorrento, Italy

ISBN

9798350324457

Page(s)

4703 - 4711

View this publication at Norwegian Research Information Repository