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
  • Getting to Know PL/pgSQL

    SQL SELF
    Level 49, Lesson 0
    PL/pgSQL is a procedural programming language built right into PostgreSQL. In this lecture, you'll find out why it's useful, how it's different from regular SQL, where it's used, and you'll see a simple example of a PL/pgSQL function. This is your first step toward automating stuff and coding logic right inside your database!
    Available
  • Main Features of PL/pgSQL

    SQL SELF
    Level 49, Lesson 1
    PL/pgSQL is a procedural language for PostgreSQL that lets you implement business logic, automation, error handling, and complex algorithms right on the server side. In this lecture, you'll learn about the benefits of PL/pgSQL, where to use it, see real examples of functions, triggers, and error handling, and check out some practical cases from the IT world.
    Available
  • Comparing PL/pgSQL with Other Procedural Programming Languages (PL/SQL, T-SQL)

    SQL SELF
    Level 49, Lesson 2
    In this article, we compare three popular procedural languages for DBMS: PL/pgSQL (PostgreSQL), PL/SQL (Oracle), and T-SQL (SQL Server). You'll learn about their similarities, differences, syntax quirks, error handling, working with cursors, transaction and JSON support, and you'll see code examples for the same task in each language.
    Available
  • PL/pgSQL Syntax Basics

    SQL SELF
    Level 49, Lesson 3
    In this lecture, you'll get to know the basic structure of PL/pgSQL blocks, learn how to declare variables, use control structures, handle errors, and write simple scripts to automate stuff in PostgreSQL. Examples and tips will help you pick up the syntax fast and dodge common mistakes.
    Available
  • Data Types and How to Use Them in PL/pgSQL: INTEGER, TEXT, BOOLEAN, RECORD

    SQL SELF
    Level 49, Lesson 4
    In this lecture, you'll learn how to use the main PL/pgSQL data types: INTEGER, TEXT, BOOLEAN, and RECORD. We'll go over what they're for, their quirks, code examples, and common mistakes, so you can confidently use them in your PostgreSQL procedures and functions.
    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