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
  • Creating Simple Functions: CREATE FUNCTION

    SQL SELF
    50 level,0 lecture
    In this lecture, you'll learn how to create simple functions in PostgreSQL using CREATE FUNCTION with the PL/pgSQL language. We'll go over the syntax, examples with parameters, return values and tables, plus common mistakes when writing functions.
    Open
  • How to Return Values from Functions in PL/pgSQL

    SQL SELF
    50 level,1 lecture
    In this lecture, you'll learn how to return values from functions in PL/pgSQL: from a simple RETURN of a single value to returning tables, multiple rows using RETURN QUERY, RETURNS TABLE, and SETOF. We'll break down common mistakes and practical examples for different scenarios.
    Open
  • Calling Functions from SQL Queries

    SQL SELF
    50 level,2 lecture
    Learn how to call user-defined functions right from your SQL queries in PostgreSQL: automate calculations, process data in SELECT, INSERT, UPDATE, filter with WHERE, integrate with aggregates, and avoid common mistakes. Real-life examples for your daily database work.
    Open
  • RAISE NOTICE, RETURN QUERY Statements

    SQL SELF
    50 level,3 lecture
    In this lecture, you'll learn how to use RAISE NOTICE for printing messages and debugging in PL/pgSQL, and also how to return data sets from functions using RETURN QUERY. Examples, common mistakes, and practical tips for working efficiently with PostgreSQL functions.
    Open
  • Breaking Down Common Mistakes When Creating Functions

    SQL SELF
    50 level,4 lecture
    In this lecture, we're gonna check out the most common mistakes when creating functions in PL/pgSQL: from forgetting RETURNS and RETURN to name conflicts, data type issues, and SQL injections. You'll learn how to dodge these, how to properly debug your functions, and how to write safe code.
    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