- Copy and paste the SQL provided by the AI as is.
- There is no way to verify if the result is correct.
- It leads to slow queries and data incidents.
SQL/DB Basics You Should Know Before Asking AI
If you ask an AI to "get the top 10 sales," it will whip up a plausible-looking query in no time. However, to determine if that query is actually correct, if the results of joining three tables are accurate, or if it's performing a full scan on 500,000 records without an index—you ultimately need a foundation in DB basics. This course doesn't cover anything overly difficult. In just 2 hours, you will learn the entire flow of SQL by coding along, covering exactly what you need to know before giving instructions to an AI. By the end of this lecture, you will no longer feel uneasy when faced with a query generated by AI.
811 learners
Level Beginner
Course period Unlimited
Reviews from Early Learners
5.0
5.0
므갱이
This is a great course if you just want to quickly grasp the basics of databases and SQL statements to the point of saying, "Ah, so that's what this is." While you'll need to study the fine details on your own, this course shows you exactly what and how to study. (For example, it helps beginners identify things they don't understand even after using various commands, or figure out what a "procedure" is... it helps you find your own path for further study.) It packs more information than expected into a short, intensive format. Considering the Notion summary materials and the fact that it's free, I think it's a truly excellent course!
5.0
차우호
The teaching is so good and it's really easy to understand!
5.0
minjung0768
I was able to build a solid foundation in DB basics.
What you will gain after the course
Interview confidence in "DB basics"
An environment where I can run SQL directly on my computer.
Fundamentals for using CRUD and JOIN fluently
'SQL verification skills' to read and judge queries written by AI
Even in the era where AI writes SQL for you,
it is the person who knows the basics who takes command.
DB, tables, SELECT, JOIN… You’re asking AI to do it, but you’re not sure if it’s correct. This course will help you build the foundations to "delegate, read, and verify."
The problem is not the AI, but the lack of an eye to verify it.
AI provides plausible-looking SQL. However, you won't know if it's wrong, it might delete the wrong data, and it frequently generates inefficient, slow queries.
I cannot read the SQL provided by the AI to determine if it matches my intentions.
I can't tell if the data is correct or if anything is missing.
I don't know which parts to change or how to ask for those changes.
6 concepts at a glance, explained through metaphors.
DB, Tables, CRUD, JOIN, Transactions, and Indexes — we show you "why and when to use them" through diagrams (metaphors) rather than just syntax.
"Where is all my data?"
KakaoTalk messages and orders alike are neatly stacked in one warehouse.
"How do you organize so much data?"
Select a single row using keys in rows and columns, just like an Excel table.
"How do I put in and take out data?"
Four words are all it takes — SELECT·INSERT·UPDATE·DELETE.
"The members and orders are separate?"
Join two tables together to view them at once.
"What if the transfer gets cut off in the middle?"
All or nothing — there is no middle ground.
"It takes forever to find one out of millions..."
If there is an index, it can be found in an instant.
Even though the same AI is used, the results are different.
- Read SELECT and JOIN statements directly.
- Verify and fix SQL provided by AI.
- Safe and fast with transactions and indexes.
Has this ever happened to you?
Did you just copy and paste the SQL provided by the AI because you didn't know if it was correct?
Don't the words “DB, Table, and JOIN” already make you feel overwhelmed?
How do you know if the SQL provided by the AI is correct?
Asking AI to write SQL is easy. The real problem comes after that.
12 lectures · From introductory DB basics to AI application.
We explain concepts using analogies like KakaoTalk storage, MapleStory trade windows, and book indexes, followed by hands-on practice with MySQL and DBeaver. Click on a section to view the detailed table of contents.
섹션 1. 🧱 DB가 뭔지부터4강
- 1🤖 Why should you learn databases in the AI era?
- 2💾 What is a Database?: Where are KakaoTalk messages stored?
- 3🔧 Environment Setup: Installing MySQL and DBeaver
- 4📊 Basic DB Concepts: Tables, Records, and Keys
섹션 2. ✏️ 데이터 다루기 (CRUD)2강
- 5CRUD Basics: Handling Data with INSERT and SELECT
- 6Advanced CRUD: UPDATE, DELETE, and Constraints
섹션 3. 🔗 관계·조회·성능4강
- 7Relationships and JOIN: Tables Holding Hands
- 8SELECT Master: From GROUP BY to Subqueries
- 9💰 Transactions: Why is the MapleStory trade window safe?
- 10📚 Index: Finding the content you want quickly in a thick book
섹션 4. 🚀 직접 풀고, AI로 확장2강
- 11🎯 Homework: Solving SQL Problems Yourself
- 12Utilizing AI as your DB assistant to 200% (feat. Verification Techniques)
If you're asking AI to do it, but aren't sure if the results are correct.
Who this is for
Those who ask AI to write SQL but aren't sure if the results are correct
Beginners who feel overwhelmed by terms like DB, Table, and JOIN.
Non-majors who want to start studying back-end development or data.
Those who want to understand why to use it rather than just memorizing the syntax
Those who need to align expectations
- Those who already write practical queries using SQL
- Those who want in-depth DB tuning and large-scale design optimization
- Those who are only looking for a quick reference to advanced features of a specific RDBMS
No prior knowledge is required; all you need is a computer.
Prior knowledge is not required. It is okay even if you are new to coding.
Installation (MySQL·DBeaver) will be guided from the very beginning in the lecture.
A single computer with internet access is all you need.
By the end of this course, you will be able to do these four things.
You can explain in your own words what DBs, tables, and keys are and why they are used.
You can read SELECT·JOIN yourself and write simple queries.
You can verify if the SQL provided by AI is correct and request specific corrections.
You can determine why transactions and indexes are necessary.
An 8th-year professional backend developer, at a beginner's level.
An 8th-year active backend developer (Toss·POSTECH) explains directly from a beginner's perspective.
This is a curriculum from an instructor whose courses have been taken by over 17,000 students on Inflearn.
I contribute to open-source projects such as Gradle and Spring AI, and I run a developer community of 8,000 members.
KakaoTalk saved messages, MapleStory trade windows, book indexes — difficult concepts are explained through everyday analogies.
If you complete the course and leave a review, we will provide you with a summary worksheet.
Tables, CRUD, JOINs, Transactions, and Indexes — A one-page summary worksheet of the core lecture concepts that can be used immediately as a review and practical cheat sheet. (Provided as a Notion link)
Expand only the parts you are curious about to check.
코딩이 처음인데 따라갈 수 있나요?
Yes. All concepts are explained using everyday analogies like KakaoTalk, Excel, and book indexes, so you can understand them without any prior knowledge. We will also guide you through the installation process from the very beginning of the lecture.
AI가 SQL을 다 짜주는데 굳이 배워야 하나요?
AI provides plausible-looking SQL, but it won't tell you if it's wrong. You need to know the basics to give accurate instructions, verify the results, and prevent accidents like deleting the wrong data.
어떤 DB로 실습하나요?
We will practice using MySQL and DBeaver. Installation will be guided from the very beginning of the lecture.
SQL 문법을 전부 다루나요?
We do not list everything. We focus on the core essentials for beginners (Tables, CRUD, JOIN, Transactions, Indexes), specifically covering why and when to use them.
Don't be swayed by AI; take command of it.
Most coding concepts were created to resolve "inconveniences." If you understand why and when to use DBs, tables, SELECT, JOIN, transactions, and indexes, you can give AI precise instructions and verify the results yourself.
Recommended for
these people
Who is this course right for?
Non-developer roles working at an IT company
People who want to create various queries using AI
Those who asked AI to write SQL but are unable to verify the results.
Need to know before starting?
No need! If you know how to turn on a computer and use a web browser, you're all set.
Hello
This is dingcodingco
Inflearn Verified
Career Verified
18,444
Learners
1,878
Reviews
353
Answers
4.9
Rating
24
Courses
Get a 15% discount coupon for Dingco Dingco lectures
🚀 Former Toss, POSTECH graduate | Current Backend Developer (+9 years)
🎥 YouTuber with 20,000 subscribers | Development content creator
📚 Inflearn Instructor | Over 18,000+ cumulative students
👥 Managing a developer career community (8,000+ members)
🧩 Contributor to multiple open-source projects (Gradle, Spring AI, etc.)
📝 Passed 38 resume screenings & experienced in 100+ Kmong resume reviews (5.0 rating)
I deliver vivid, real-world industry insights in a way that is easy to understand and logically deductive.
Truyền tải những thông tin thực tế sống động từ ngành công nghiệp một cách dễ hiểu và có tính diễn dịch.
Curriculum
All
14 lectures ∙ (2hr 46min)
Reviews
All
33 reviews
5.0
33 reviews
- meustar829
Reviews 33
∙
Average Rating 4.8
Edited
5
100% enrolledThis is a great course if you just want to quickly grasp the basics of databases and SQL statements to the point of saying, "Ah, so that's what this is." While you'll need to study the fine details on your own, this course shows you exactly what and how to study. (For example, it helps beginners identify things they don't understand even after using various commands, or figure out what a "procedure" is... it helps you find your own path for further study.) It packs more information than expected into a short, intensive format. Considering the Notion summary materials and the fact that it's free, I think it's a truly excellent course!
- dingcodingcoInstructor
You hit the nail on the head regarding the purpose of this lecture with the expression 'setting a direction for what to study,' thank you. I will be rooting for your continued growth as you keep finding topics to dive into on your own, just like you did with procedures!
- trixiel
Reviews 7
∙
Average Rating 5.0
5
100% enrolledI was able to build a solid foundation in DB basics.
- dingcodingcoInstructor
I'm so glad you've built a solid foundation in databases. I hope the groundwork you laid today serves as a strong support whenever you use SQL in the future.
dngh1124848Reviews 2
∙
Average Rating 5.0
5
100% enrolledThe teaching is so good and it's really easy to understand!
- dingcodingcoInstructor
I'm so glad to hear that the lectures were easy to understand. Thank you for completing the course until the end!
techietaekReviews 6
∙
Average Rating 5.0
5
100% enrolledFollowing the Git lecture, I was able to build a quick and solid foundation in DB basics. With this confidence, I will continue to study advanced DB topics!
- dingcodingcoInstructor
Thank you for completing this course as well, following the Git course. I believe the solid foundation you've built will be a great strength in your advanced studies!
asdfasdfasdf1Reviews 20
∙
Average Rating 5.0
5
50% enrolledThe materials are very well organized, and the explanations are clear!
- dingcodingcoInstructor
I'm really glad that the organized materials and explanations were helpful. I hope you finish the remaining lectures well until the end!
dingcodingco's other courses
Check out other courses by the instructor!
Similar courses
Explore other courses in the same field!





![[A hundred words are not as good as seeing once] Basic SQL for data analysisCourse Thumbnail](https://cdn.inflearn.com/public/courses/324566/cover/aa1fac55-6e80-4506-9c92-f32c2b65f93a/sql_basic.png?w=420)
.png?w=420)

![[MMORPG Game Development Series with C# and Unity] Part 5: DatabaseCourse Thumbnail](https://cdn.inflearn.com/public/courses/325283/course_cover/afb413e6-681e-47cd-808a-099c79fed112/rookiss-rpg-5.jpg?w=420)

