| dc.contributor.advisor | Mascardi, Viviana <1972> | |
| dc.contributor.advisor | Guerrini, Giovanna <1969> | |
| dc.contributor.author | Miggiano, Davide <2000> | |
| dc.date.accessioned | 2025-10-30T15:13:07Z | |
| dc.date.available | 2025-10-30T15:13:07Z | |
| dc.date.issued | 2025-10-24 | |
| dc.identifier.uri | https://unire.unige.it/handle/123456789/13537 | |
| dc.description.abstract | Questa tesi presenta SQLMentor, uno strumento innovativo e indipendente dal DBMS per la classificazione automatica degli errori SQL, che fornisce un feedback dettagliato e pedagogicamente rilevante. SQLMentor utilizza una pipeline di analisi statica basata su regole che non esegue query, consentendo una tassonomia in quattro parti degli errori di sintassi, semantica, logica e complicazione. Questo approccio consente un’elevata precisione nell’identificazione degli errori grammaticali e strutturali, offrendo un feedback automatico coerente e superando i limiti del feedback tradizionale dei DBMS.
Nell’analisi comparativa, SQLMentor supera attualmente alcuni importanti modelli linguistici di grandi dimensioni in questo compito, pur evidenziando le inevitabili limitazioni di un sistema statico basato su regole. A differenza dei metodi basati su modelli linguistici, che comprendono l’intento della query tramite linguaggio naturale, SQLMentor non coglie le sottili sfumature logiche.
La tesi propone infine un modello ibrido, in cui un nucleo basato su regole per errori inequivocabili è supportato da componenti di apprendimento automatico per individuare problemi logici dipendenti dal contesto. L’unione tra accuratezza dell’analisi statica e capacità interpretative dei modelli di apprendimento permetterebbe un sistema più avanzato di feedback sugli errori SQL. | it_IT |
| dc.description.abstract | This thesis presents SQLMentor, an innovative tool that is independent of DBMS and is designed for the automated classification of SQL errors that provides detailed, pedagogically relevant feedback. SQLMentor is equipped with a sequential, rule-based static analysis pipeline that does not execute a query, thus enabling a comprehensive four-part taxonomy of Syntax, Semantics, Logic, and Complication errors. This systematic approach allows achieving high accuracy in the identification of grammatically and structurally defined errors, while providing consistent automatic feedback, addressing limitations of traditional DBMS feedback.
In comparative analysis, SQLMentor currently outperforms some prominent large language model in this particular task. Yet, this comparison also brings to light the unavoidable restrictions of a fully rule-based, static system. Unlike language-model-based methods, which take advantage of natural language descriptions to understand the query intent, SQLMentor’s static analysis is not equipped with the capability to capture the subtle logical nuances.
Consequently, the thesis proposes a future hybrid system model where a strictly rule-based core for unambiguous errors is supported by machine learning components for discovering context-dependent logical issues. The combination of a rule-based and static analysis accuracy with the interpretative skills of learning models would enable a more advanced system of SQL error feedback. | en_UK |
| dc.language.iso | en | |
| dc.rights | info:eu-repo/semantics/openAccess | |
| dc.title | Categorizzazione automatica degli errori SQL | it_IT |
| dc.title.alternative | Automatic categorisation of SQL errors | en_UK |
| dc.type | info:eu-repo/semantics/masterThesis | |
| dc.subject.miur | INF/01 - INFORMATICA | |
| dc.publisher.name | Università degli studi di Genova | |
| dc.date.academicyear | 2024/2025 | |
| dc.description.corsolaurea | 10852 - COMPUTER SCIENCE | |
| dc.description.area | 7 - SCIENZE MAT.FIS.NAT. | |
| dc.description.department | 100023 - DIPARTIMENTO DI INFORMATICA, BIOINGEGNERIA, ROBOTICA E INGEGNERIA DEI SISTEMI | |