{"title":"实现关系数据库模糊查询的实用方法","authors":"A. Rybanov","doi":"10.53656/math2022-4-5-pra","DOIUrl":null,"url":null,"abstract":"Information systems that use databases are flexible to the extent that they allow users to request the data they need. SQL is limited to precise data processing and does not directly express fuzzy concepts of natural language. Therefore, giving SQL some flexibility can help users improve interaction with information systems without requiring them to learn a completely new language. The task of reducing the labor intensity of the process of integrating the mechanisms of fuzzy requests to existing information systems is urgent. The article shows the limitations of clear queries, considers various forms of fuzzy queries. Known approaches to implementing fuzzy queries to relational databases were analyzed. Provides a detailed analysis of fuzzy queries, as well as their conversion to standard SQL queries using MySQL. The proposed method for implementing the ability to work with fuzzy queries is based on expanding a clear database with stored functions, without changing the structure and composition of its tables. The advantages of the method are: increased readability and understanding of SQL queries; ease of integration with existing databases of information systems; flexible adjustment of the linguistic variable membership function in accordance with the needs of the database user. The application of the method is shown by the example of adapting a MySQL database. The proposed adaptation method can be widely used to implement fuzzy queries to databases of various DBMS that support work with stored functions.","PeriodicalId":41818,"journal":{"name":"Mathematics and Informatics","volume":null,"pages":null},"PeriodicalIF":0.2000,"publicationDate":"2022-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A PRACTICAL METHOD FOR IMPLEMENTING FUZZY QUERIES FOR RELATIONAL DATABASES\",\"authors\":\"A. Rybanov\",\"doi\":\"10.53656/math2022-4-5-pra\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Information systems that use databases are flexible to the extent that they allow users to request the data they need. SQL is limited to precise data processing and does not directly express fuzzy concepts of natural language. Therefore, giving SQL some flexibility can help users improve interaction with information systems without requiring them to learn a completely new language. The task of reducing the labor intensity of the process of integrating the mechanisms of fuzzy requests to existing information systems is urgent. The article shows the limitations of clear queries, considers various forms of fuzzy queries. Known approaches to implementing fuzzy queries to relational databases were analyzed. Provides a detailed analysis of fuzzy queries, as well as their conversion to standard SQL queries using MySQL. The proposed method for implementing the ability to work with fuzzy queries is based on expanding a clear database with stored functions, without changing the structure and composition of its tables. The advantages of the method are: increased readability and understanding of SQL queries; ease of integration with existing databases of information systems; flexible adjustment of the linguistic variable membership function in accordance with the needs of the database user. The application of the method is shown by the example of adapting a MySQL database. The proposed adaptation method can be widely used to implement fuzzy queries to databases of various DBMS that support work with stored functions.\",\"PeriodicalId\":41818,\"journal\":{\"name\":\"Mathematics and Informatics\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.2000,\"publicationDate\":\"2022-08-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Mathematics and Informatics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.53656/math2022-4-5-pra\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"EDUCATION & EDUCATIONAL RESEARCH\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Mathematics and Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.53656/math2022-4-5-pra","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"EDUCATION & EDUCATIONAL RESEARCH","Score":null,"Total":0}
A PRACTICAL METHOD FOR IMPLEMENTING FUZZY QUERIES FOR RELATIONAL DATABASES
Information systems that use databases are flexible to the extent that they allow users to request the data they need. SQL is limited to precise data processing and does not directly express fuzzy concepts of natural language. Therefore, giving SQL some flexibility can help users improve interaction with information systems without requiring them to learn a completely new language. The task of reducing the labor intensity of the process of integrating the mechanisms of fuzzy requests to existing information systems is urgent. The article shows the limitations of clear queries, considers various forms of fuzzy queries. Known approaches to implementing fuzzy queries to relational databases were analyzed. Provides a detailed analysis of fuzzy queries, as well as their conversion to standard SQL queries using MySQL. The proposed method for implementing the ability to work with fuzzy queries is based on expanding a clear database with stored functions, without changing the structure and composition of its tables. The advantages of the method are: increased readability and understanding of SQL queries; ease of integration with existing databases of information systems; flexible adjustment of the linguistic variable membership function in accordance with the needs of the database user. The application of the method is shown by the example of adapting a MySQL database. The proposed adaptation method can be widely used to implement fuzzy queries to databases of various DBMS that support work with stored functions.