CodeGym
AI Academy
Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme

Lessons

  • Reviews
  • About us
Start
Start learning
Start learning now
  • My Progress
  • Courses
  • University
  • Quest Map
  • Lessons
  • Merging and Modifying JSON Objects with the || Operator and the jsonb_concat() Function

    SQL SELF
    Level 34, Lesson 0
    Learn how to merge and tweak JSONB objects and arrays in PostgreSQL using the || operator and the jsonb_concat() function. Real-life examples, gotchas, common mistakes, and tips for optimizing your JSONB queries.
    Available
  • Indexing JSONB Data: Using GIN and BTREE Indexes

    SQL SELF
    Level 34, Lesson 1
    Learn how to speed up searching in JSONB columns in PostgreSQL using GIN and BTREE indexes. This article explains the differences between these index types, gives examples of how to create and use them, and covers common mistakes when working with JSONB data.
    Available
  • Examples of Advanced Queries with JSONB

    SQL SELF
    Level 34, Lesson 2
    On this page, you'll learn how to run advanced queries on data stored in JSONB format in PostgreSQL. We'll cover filtering, sorting, grouping, and complex scenarios for working with JSONB using real-world online store examples.
    Available
  • Comparing JSON with Other Types: ARRAY, TEXT, HSTORE

    SQL SELF
    Level 34, Lesson 3
    Find out when to use JSON/JSONB, arrays, text fields, or HSTORE in PostgreSQL. Detailed comparison, usage examples, and tips on picking the best data type for your needs.
    Available
  • Common Mistakes When Working with JSON Data and How to Avoid Them

    SQL SELF
    Level 34, Lesson 4
    Check out the most common mistakes people make when working with JSON and JSONB in PostgreSQL, plus get some hands-on tips on how to dodge them. Learn how to boost performance and steer clear of gotchas when storing and handling JSON data.
    Available
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym