Objective

Database courses teach students how to design and manage the systems that store information. Students must learn ideas such as entity–relationship (ER) modeling (drawing how pieces of data relate), normalization (organizing data to avoid repetition) and the SQL language used to ask questions of a database. These topics can be hard for students, and hard for instructors to support, especially in large classes where quick, personal feedback is difficult to give.

Generative AI (genAI), and in particular large language models (LLMs, the technology behind chatbots), has spread quickly in higher education. Earlier reviews describe benefits such as personalized feedback and saved time, along with worries about ethics, accuracy and fairness. However, those reviews usually cover many subjects at once and do not separate what the AI is actually doing in the course.

This review looks only at database education and sorts the studies by the role AI plays, using a framework from earlier work. The three roles are:

  • Supplementary assistant: optional help that does not change how the course is built.
  • Direct mediator: AI becomes a necessary part of a process such as grading or feedback.
  • New subject: AI takes over duties usually held by the instructor, such as acting as the tutor.

The author asks what the benefits and risks of genAI are in each of these three roles.

Methods

This is a literature review, which means the author searched for existing research studies and summarized them. A review can show patterns across studies, but it is only as good as the studies it includes.

The author followed the PRISMA guidelines, a standard checklist for making a review transparent and repeatable. The search used two research databases, Scopus and Web of Science. Search terms combined AI words (such as genAI and LLMs), database words (such as SQL and database design) and teaching words (such as education, teaching, learning and students). The search ran in December 2025 with no limit on publication date.

The selection went in steps:

  1. The search found 406 records, 187 in Web of Science and 219 in Scopus.
  2. The author kept only English-language, peer-reviewed journal articles and removed duplicates. This removed 305 records and left 101.
  3. The author then checked each article for instructional use, a database focus and an empirical application. A total of 89 did not match, mostly because they were not about databases or had no stated teaching purpose.
  4. Two more were dropped for a very weak connection to AI use in database education, and one could not be read in full.
  5. Nine articles remained for the final review.

The author read the nine in detail and recorded their database topic, study design, AI role, teaching purpose and main results in a table. The review was organized around three questions, one for each AI role. The paper says ChatGPT was used only for language polishing and limited concept clarification, and that the author is responsible for all decisions. It does not say whether more than one person screened the articles.

Key Findings

Overall, the nine studies mostly used genAI as a helper, and the results reported were largely positive, with more concerns appearing as AI took on bigger roles.

What the nine studies covered

  • Three studies looked at ER design and modeling, four at SQL querying and assessment, and two at wider topics such as SQL learning, database management or design theory.
  • Study designs varied: two experiments, one quasi-experimental teaching case, one case study, one qualitative study, one analytical evaluation and three design-based studies.
  • Five studies used AI as a supplementary assistant, three as a direct mediator and one as a new subject.

AI as a supplementary assistant (five studies)

  • One study found that AI-generated SQL practice data was very similar to real student data.
  • Another found that a step-by-step approach to natural-language database questions was more accurate than an agent-based approach, letting instructors reach data without knowing SQL.
  • A study on SQL error messages found feedback with explanations and examples worked better for non-experts, and AI feedback was accurate up to 85%. Clear error messages with the error position and hints were seen as most effective.
  • In an undergraduate course, students solved ER and SQL tasks first, then compared their work with AI solutions. They reported better understanding and positive views.
  • No major problems or risks were prominently reported in this group.

AI as a direct mediator (three studies)

  • AI marking of ER diagrams largely agreed with human grades, but handling cardinality (how many items link to each other) was a challenge.
  • An LLM-based SQL grader showed high accuracy and cut grading time sharply. Almost all participants found it useful.
  • ChatGPT used as built-in support in a capstone project was linked to better outcomes for graduate students and more learner independence.
  • The concern raised here was the accuracy of AI evaluations.

Comparison with an earlier review

  • A previous review of AI in blended learning found direct mediation was the main role (40%), then supplementary assistant (20%) and new subject (17%). The author thinks the difference probably comes from differing needs across subjects.

AI as a new subject (one study)

  • When LLMs acted as database design tutors, they gave detailed explanations but sometimes confident, incorrect reasoning. The author raises accuracy and equity worries, since learners with weaker models could be left behind.

Implications

The author gives these views based on the nine studies.

Instructors

  • The author says AI is a reasonable helper for tasks such as creating example data, checking solutions and explaining errors, as long as its use is clearly explained to instructors and students.
  • If AI helps with grading, the author says an instructor should stay involved and AI should not be the only basis for important decisions.
  • The author advises that students' personal data should not be given to AI systems, and that only non-personal evaluation data be used.

Course and school leaders

  • The author cautions against AI as a stand-in tutor. It might suit simple tasks with low accuracy risk, such as introductory SQL queries, but this still needs testing, and human oversight should always go with it.

Students

  • The author describes students using LLMs to practice SQL statements and to check their own work, which supports learning on their own.

Researchers

  • The author calls for more empirical work, particularly long-term and design-sensitive studies, and for work that finds safe and reliable ways to use AI.

Our reading (not the authors' recommendation): a database instructor could start with the low-risk helper uses described here and compare a few AI-marked assignments against their own marks before trusting the tool more widely. Because so few studies exist, any choice is best treated as a small trial and not as a settled practice.

Limitations

The author states that only nine studies were found, so research on genAI in database teaching is at an early stage. The search was also limited to peer-reviewed journal articles in Web of Science and Scopus, so conclusions should be read in that light. The author adds that very few studies look at AI as a direct mediator or a new subject.

Other weaknesses are worth keeping in mind.

  • The paper does not mention, but the AI as a new subject conclusion comes from a single study, so it should not be treated as a general finding.
  • The paper does not mention, but the nine studies used very different designs, from experiments to design-based technical studies, and the review does not weigh their quality or size against each other.
  • The paper does not mention, but the review does not report sample sizes or effect sizes for the studies, so statements about better performance cannot be judged for strength.
  • The paper does not mention, but the author alone selected and judged the articles, which leaves room for personal bias in what counted as relevant.
  • The paper does not mention, but limiting the search to English journal articles may have left out conference papers and work in other languages.
  • The paper does not mention, but the low number of ethical concerns for the helper role could partly reflect that studies did not look for them.

Future Directions

The author says research on AI in database instruction is still at an early stage and more empirical studies are needed. Specific directions mentioned are:

  • Longitudinal and design-sensitive research, to judge benefits and risks over time.
  • Studies that find effective, safe and reliable ways to use genAI that balance teaching benefits with risks.
  • More work on the direct mediator and new subject roles, where very few studies exist and where accuracy and equity are the main concerns.
  • Tests of whether AI as a tutor can be used safely for simpler tasks, such as teaching introductory SQL queries or JSON.
  • Other uses of AI as a direct mediator beyond grading and project support, which remain underexplored.
  • Clearer ethical guidance for each AI role, since the author says ethical issues remain open to discussion for all three.

The bottom line: This review of nine studies suggests that generative AI is a useful helper in database courses, with positive reports on understanding, accuracy and time saved. Using AI for marking needs an instructor to watch for errors, and using AI as the tutor was the riskiest idea, based on one study that found confident but sometimes wrong answers. The evidence is small, varied and early. Instructors can try low-risk helper uses, keep a human in charge, and avoid sharing student data with AI.