SQL Antipatterns: Avoiding the Pitfalls of Database Programming

Get familiar with SQL antipatterns in this course and learn to deal with such antipatterns. You can also execute the codes to get to the depth.

Beginner

87 Lessons

6h 45min

Certificate of Completion

Get familiar with SQL antipatterns in this course and learn to deal with such antipatterns. You can also execute the codes to get to the depth.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

5 Assessments
214 Playgrounds

This course includes

5 Assessments
214 Playgrounds

Course Overview

Structured Query Language (SQL) is widely used to manage relational databases and perform various data-related operations. Non-expert programmers commonly try to solve a problem with a risky and ineffective solution, also known as an antipattern. Such common bad practices initially look like a good solution and are easier to implement but cause more problems. This course explains the best fixes by addressing multiple antipatterns. This course covers the following four types of SQL antipatterns: logical, ph...Show More

TAKEAWAY SKILLS

Sql

Database

What You'll Learn

Learn the best practices for writing SQL queries.

Increase your SQL skills by inspecting SQL antipatterns.

Get introduced to SQL antipatterns and solutions.

Learn issues corresponding to create, read, update, and delete (CRUD) operations in SQL database.

What You'll Learn

Learn the best practices for writing SQL queries.

Show more

Course Content

1.

Introduction

2.

Logical Antipattern - Jaywalking

3.

Logical Antipattern - Naive Trees

4.

Logical Antipattern - ID Required

5.

Logical Antipattern - Keyless Entry

Assessment: Logical Antipatterns - Part 1

Assessment

6.

Logical Antipattern - Entity-Attribute-Value

5 Lessons

7.

Logical Antipattern - Polymorphic Associations

4 Lessons

8.

Logical Antipattern - Multicolumn Attributes

3 Lessons

9.

Logical Antipattern - Metadata Tribbles

3 Lessons

Assessment: Logical Antipatterns - Part 2

Assessment

10.

Physical Antipattern - Rounding Errors

3 Lessons

11.

Physical Antipattern - 31 Flavors

3 Lessons

12.

Physical Antipattern - Phantom Files

3 Lessons

13.

Physical Antipattern - Index Shotgun

3 Lessons

Assessment: Physical Antipatterns

Assessment

14.

Query Antipattern - Fear of the Unknown

3 Lessons

15.

Query Antipattern - Ambiguous Groups

3 Lessons

16.

Query Antipattern - Random Selection

3 Lessons

17.

Query Antipattern - Poor Man’s Search Engine

4 Lessons

18.

Query Antipattern - Spaghetti Query

3 Lessons

19.

Query Antipattern - Implicit Columns

3 Lessons

Assessment: Query Antipattern

Assessment

20.

Application Development Antipattern - Readable Passwords

4 Lessons

21.

Application Development Antipattern - SQL Injection

4 Lessons

22.

Application Development Antipattern - Pseudokey Neat-Freak

3 Lessons

23.

Application Development Antipattern - See No Evil

3 Lessons

24.

Application Development Antipattern - Diplomatic Immunity

3 Lessons

25.

Application Development Antipattern - Magic Beans

3 Lessons

Assessment: Application Development Antipattern

Assessment

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath