Generating SQL Command Syntax Using MySQL Based on Typing Command Sentence

Bonifacius Vicky Indriyono, Zudha Pratama

Abstract


Information retrieval system is a system that is widely used to retrieve information. This research will discuss how the system finds back the information stored in database tables. Tables in the database are arranged to store all forms of data entered by database users so that later the stored data can be used again. Re-accessing the database's information must go through a mechanism known as a database management system (DBMS). One of the most widely used DBMS is MySQL. By using a DBMS, information and data can be manipulated according to user needs. Data manipulation in the database is done in a special language, namely SQL (Structure Query Language). Mastery of SQL commands is an obligation for database users so that the manipulated data can produce the required information. However, many database users still do not understand how the actual SQL command syntax manages and manipulates data into information. This is, of course, very risky if the solution is not immediately sought because it will hinder the process of retrieving information from the data stored in the database. For this problem to be resolved, it is necessary to design a system that can help database users translate their wishes into SQL command syntax. This paper will discuss how a command in Indonesian can be translated into SQL command syntax. The method used to solve this research problem is rule-based. There are two stages in the main process: the pre-processing stage, which consists of a word tokenization process, and a translation stage, including a keyword grouping process. This keyword grouping process consists of the keyword group analysis phase, table and column analysis, identification of SQL commands, and mapping of SQL commands. From all stages that have been passed and testing of 7 scenarios with ten (10) commands for each scenario, the accuracy is 81.42%. The inaccuracy in the testing process is more a problem of displaying data from two or more tables, for example, using the join table command. This problem can be addressed by adding new rules for the use of table joins.


Keywords


Database, DBMS, MySQL, SQL, Command Sentence

Full Text:

PDF

References


Suhartati and Y.D. Atma, "Simple Query Optimization for Query Speeds on a Database Server", METIK Journal, Vol. 1 No. 1, p. 14-17, Jun. 2017.

T. Connolly, Database Systems A Practical Approach to Design, Implementation, and Management Fifth Edition. Boston : Pearson Education, 2010.

E. Tungadi, "Form Generator Utilizing MySQL Metadata", National Seminar on Communication and Informatics (SNKI), p. 77-80, Jun. 2015.

K.C. Laudon and J.P. Laudon, Management Information Systems : Managing the Digital Firm, 11th Edition. New Jersey: Prentice Hall. 2010.

I. Warman and R. Ramdaniansyah, "Comparative Analysis of Query Database Management System (DBMS) Performance Between Mysql 5.7.16 And Mariadb 10.1", TEKNOIF Journal, Vol. 6 No. 1, p. 32-41, Apr. 2018.

H. Yuliansyah, "Designing Mysql Database Replication With Security Mechanisms Using SSL Encryption", Journal of Informatics, Vol. 8 No. 1, p. 826-836, Jan. 2014.

V. Natali and P. Alfadian, "Specific Domain Analysis and Design Language for Data Generator on Relational Database", JUMANJI Journal, Vol. 3 No. 1, p. 64-73, Aprl. 2019.

R. Pamungkas, "Query Optimization in My Sql Database Using an Index", Research: Journal of Computer, information systems, & technology management, Vol. 1 No. 2, p. 27-31, Apr. 2018.

J. Sinuraya, "Data Search Methods Using Hash Join Query and Nested Join Query", Journal of Teknovasi, Vol. 4 No. 1, p. 42-50, Apr. 2017.

M. Fikry, et al. "Generating Web Forms Based on SQL Metadata and W3C specifications", CoreIT Journal, Vol. 3 No. 2, p. 63-68, Dec. 2017.

A.K. Jaiswal, "SQL Query Generator for Natural Language", International Journal of Research In Science & Engineering, Vol. 3 No. 2, p. 190-196, March. 2017.

S.A. Khalek and S. Khurshid, "Automated SQL Query Generation for Systematic Testing of Database Engines", ASE 2010 : The 25th IEEE/ACM International Conference on Automated Software Engineering, p. 329-332, Sept. 2010.

Sugiyono, Educational Research Methods with Quantitative Approaches, Qualitative, and R & D. Bandung : Alfabeta. 2013.

D.J. Hodgetts and E.E. Stolte," Caseā€based Research in Community and Social Psychology: Introduction to the Special Issue", Journal of Community & Applied Social Psychology, Vol. 22 No. 5, p. 379-389, Aug. 2012

S. Arikunto, Research Procedure A practical approach. Jakarta: Rineka Cipta. 2010.

K.K. Purnamasari and I.S. Suwardi, "Rule-based Part of Speech Tagger for Indonesian Language", in Proc. IOP Conf. Series: Materials Science and Engineering, 2018, Vol. 407, p. 1-4.




DOI: http://dx.doi.org/10.25139/inform.v6i1.3305

Refbacks

  • There are currently no refbacks.


Copyright (c) 2021 Inform: Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

____________________________________________________________
INFORM: Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi
ISSN 2502-3470 (Print) | 2581-0367 (Online)
Published by Pusat Pengelola Jurnal, Universitas Dr. Soetomo
Managed by Program Studi Teknik Informatika, Fakultas Teknik, Universitas Dr. Soetomo
Address Jl. Semolowaru no 84, Surabaya, 60118, (031) 5944744
Website https://ejournal.unitomo.ac.id/index.php/inform
email [email protected]

Inform is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

View Inform Stats

Inform is supervised by Relawan Jurnal Indonesia.