Home › Prompts › Community › Produce MySQL Queries using LLMs
Produce MySQL Queries using LLMs
Any chat AIEducation & tutoringCommunity (MIT)
Note: Review and test before use. Provided as is, without warranty. See Terms.
Prompt
Download"""
Table departments, columns = [DepartmentId, DepartmentName]
Table students, columns = [DepartmentId, StudentId, StudentName]
Create a MySQL query for all students in the Computer Science Department
"""
How to use
- Paste it into ChatGPT, Claude, Gemini, Grok or any other chat AI.
- Replace the variables in
${…},{…}or[…]with your own details first. - Check the output before you rely on it.