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 the students table and linking it to the courses table

    SQL SELF
    20 level,0 lecture
    A detailed step-by-step guide on how to create the students and courses tables in a database, and how to set up relationships between them using foreign keys. We'll break down SQL commands, table structure, and give you query examples to help you lock in the material.
    Open
  • Creating the enrollments table to link students and courses

    SQL SELF
    20 level,1 lecture
    In this lecture, you'll learn how to set up a MANY-TO-MANY relationship between students and courses using an intermediate table called enrollments in PostgreSQL. We'll break down the table structures, check out some SQL query examples, insert data, and look at common mistakes when working with foreign keys.
    Open
  • Data Integrity Check

    SQL SELF
    20 level,2 lecture
    Learn how foreign keys in PostgreSQL keep your data consistent, stop mismatched records from popping up, and help you maintain the logic between your tables. We’ll look at examples, common mistakes, and how to handle them.
    Open
  • Deleting and Updating Data with Foreign Keys in Mind

    SQL SELF
    20 level,3 lecture
    Learn how to properly delete and update data in relational databases when foreign keys are involved. We'll break down ON DELETE and ON UPDATE options, check out some cascade operation examples, and look at common mistakes when working with integrity constraints.
    Open
  • Common Mistakes When Working with Foreign Keys

    SQL SELF
    20 level,4 lecture
    Check out the most common mistakes when working with foreign keys in PostgreSQL and other DBMS: from missing indexes to breaking data integrity. Learn how to avoid them and make your database reliable and fast.
    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