Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 257 / 29886%
PostgreSQL Specific Topics3/4

Arrays in PostgreSQL

Native array type — unique to PG among major OLTP DBs.

int nums[5] = {10, 20, 30, 40, 50};nums[0]10nums[1]20nums[2]30nums[3]40nums[4]50indexing starts at 0 — last element is nums[n-1]
Visual explanation diagram · click steps to walk through it

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?