KMITL
Permanent URI for this communityhttps://dspace.kmitl.ac.th/handle/123456789/1
Browse
3 results
Search Results
- Some of the metrics are blocked by yourconsent settings
Item type:Item, Using LLM Artificial Intelligence Systems as Complex SQL Programming Assistants(2024-01-01) ;Pornphol, PutsadeeChittayasothorn, SuphamitLearning database programming such as SQL programming is a challenging task when the queries become more complex. SQL is a declarative language based on relational calculus which describes the definition of the query results instead of describing the procedure or steps used to obtain the query result. Tutorial sessions using tutorial assistances are generally required to support the learning of advanced part of the language. Recently generative AI systems demonstrated question answering capabilities including programming codes generation. This paper verifies the SQL code generating capabilities of four generative AI systems: Bing, Bard, ChatGPT, and Copilot and their suitability as SQL programming assistants. - Some of the metrics are blocked by yourconsent settings
Item type:Item, Verification of Relational Database Languages Codes Generated by ChatGPT(2023-10-27) ;Pornphol, PutsadeeChittayasothorn, SuphamitThe potential of using large language model artificial intelligence systems to generate program codes for application development is significant. Database codes in SQL (Structured Query Language), which is the standard relational database language, can be generated by such systems. Generative AI systems know database languages syntax through their training data and the text patterns from various sources that include SQL queries and related text. Thus, the generated codes may not be perfect and need verification before usage. This paper verifies the relational completeness of the SQL codes generated by ChatGPT, one of the most widely used large language model systems. Relational algebra operators are used for the relational complete verification. An equivalent relational calculus statement is generated for each SQL and relational algebra statement. The results confirmed that ChatGPT has the ability to generate relational complete SQL, relational algebra, and relational calculus codes. - Some of the metrics are blocked by yourconsent settings
Item type:Item, Relational Database Principles Consideration for SQL Programming(2023-01-01) ;Pornphol, PutsadeeChittayasothorn, SuphamitIn practice, SQL programmers often encounter queries which are hard to formulate using SQL statements. Many of them do not know if the queries are too hard beyond their capabilities, or they are the limitations of the language. Many of these programmers only know that SQL statements work on database tables and are not aware of relational database and the relational complete language principle. This paper presents the common problems that SQL programmers encounter and refers to the relevant relational database principles as solutions.
