JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Success stories
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • Automating Tasks with Triggers

    SQL SELF
    58 level,0 lecture
    In this lecture, you'll learn how to automate logging changes and auditing data in PostgreSQL using triggers. We'll go over creating a log table, writing functions and triggers to track INSERT, UPDATE, DELETE operations, plus check out some real-world examples and important performance tips.
    Open
  • Trigger for Auto-Updating the last_modified Field When a Record Changes

    SQL SELF
    58 level,1 lecture
    In this lecture, you'll learn how to use a trigger and a PL/pgSQL function to automatically update the last_modified field in a table whenever the data changes. We'll go over creating the table, the function, a trigger with a condition, and also look at common mistakes and tips for using triggers in PostgreSQL.
    Open
  • Row-level and Statement-level Triggers: FOR EACH ROW vs FOR EACH STATEMENT

    SQL SELF
    58 level,2 lecture
    In this lecture, you'll learn the difference between FOR EACH ROW and FOR EACH STATEMENT triggers in PostgreSQL, figure out how to pick the right type for your tasks, check out some practical examples, and go over common mistakes when designing triggers.
    Open
  • Error and Transaction Handling in Triggers: EXCEPTION, RAISE

    SQL SELF
    58 level,3 lecture
    In this lecture, you'll learn how to handle errors and manage transactions inside PostgreSQL triggers using EXCEPTION blocks and the RAISE statement. We'll check out practical examples of logging errors, diagnosing with RAISE, and also look at common mistakes and ways to avoid them when working with triggers.
    Open
  • Analyzing Common Mistakes When Developing Triggers

    SQL SELF
    58 level,4 lecture
    In this lecture, you'll learn about the most common mistakes when creating triggers in PostgreSQL: recursion, incorrect use of OLD/NEW, conflicting triggers, performance and transaction issues. We'll break down examples, ways to avoid mistakes, and give you some practical tips for writing reliable and efficient triggers.
    Open
Learn
  • Registration
  • Java course
  • Help with tasks
  • Pricing
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success stories
  • Activities
Company
  • About us
  • Contacts
  • Reviews
  • FAQ
  • Support
JavaRushJavaRush — is an interactive online course for learning Java programming from scratch. It contains 1200 practical tasks with one-click solution checking, the necessary minimum of theory on Java basics, and motivating features that help you complete the course: games, quizzes, interesting projects and articles on effective learning and the career of a Java developer.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush
MastercardVisa
"Programmers are not born" © 2026 JavaRush