{"id":1498,"date":"2025-03-26T03:13:16","date_gmt":"2025-03-26T01:13:16","guid":{"rendered":"https:\/\/olvas.dev\/?p=1498"},"modified":"2025-03-26T04:11:05","modified_gmt":"2025-03-26T02:11:05","slug":"postgresql-cheat-sheet","status":"publish","type":"post","link":"https:\/\/olvas.dev\/?p=1498","title":{"rendered":"PostgreSQL cheat sheet"},"content":{"rendered":"\n<p>\u0412 \u044d\u0442\u043e\u043c \u0447\u0438\u0442-\u043b\u0438\u0441\u0442\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f: \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 SQL-\u043a\u043e\u043c\u0430\u043d\u0434\u044b (SELECT, INSERT, UPDATE, DELETE) \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u0447\u0438\u0441\u043b\u0430\u043c\u0438, NULL-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u0434\u0430\u0442\u0430\u043c\u0438.<\/p>\n\n\n\n<p>\u0412 \u044d\u0442\u043e\u043c \u0447\u0438\u0442-\u043b\u0438\u0441\u0442\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f: \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 SQL-\u043a\u043e\u043c\u0430\u043d\u0434\u044b (SELECT, INSERT, UPDATE, DELETE) \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u0447\u0438\u0441\u043b\u0430\u043c\u0438, NULL-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u0434\u0430\u0442\u0430\u043c\u0438.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2339\" height=\"1656\" src=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/Untitled-1.png\" alt=\"\" class=\"wp-image-1517\" style=\"object-fit:cover\" srcset=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/Untitled-1.png 2339w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/Untitled-1-768x544.png?_mod=1742953503 768w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/Untitled-1-1536x1087.png?_mod=1742953505 1536w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/Untitled-1-2048x1450.png?_mod=1742953508 2048w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/Untitled-1-640x453.png?_mod=1742953509 640w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/Untitled-1-1024x725.png?_mod=1742953510 1024w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/Untitled-1-706x500.png?_mod=1742953511 706w\" sizes=\"auto, (max-width: 2339px) 100vw, 2339px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2339\" height=\"1656\" src=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/121-2.png\" alt=\"\" class=\"wp-image-1518\" srcset=\"https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/121-2.png 2339w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/121-2-768x544.png?_mod=1742953544 768w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/121-2-1536x1087.png?_mod=1742953546 1536w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/121-2-2048x1450.png?_mod=1742953550 2048w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/121-2-640x453.png?_mod=1742953551 640w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/121-2-1024x725.png?_mod=1742953552 1024w, https:\/\/olvas.dev\/wp-content\/uploads\/2025\/03\/121-2-706x500.png?_mod=1742953553 706w\" sizes=\"auto, (max-width: 2339px) 100vw, 2339px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u043c \u0447\u0438\u0442-\u043b\u0438\u0441\u0442\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f: \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 SQL-\u043a\u043e\u043c\u0430\u043d\u0434\u044b (SELECT, INSERT, UPDATE, DELETE) \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u0447\u0438\u0441\u043b\u0430\u043c\u0438, NULL-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1501,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[46,88,17,263,90],"class_list":["post-1498","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cheat_sheets","tag-cheatsheet","tag-databases","tag-postgresql","tag-263","tag-90","entry-card--wide"],"_links":{"self":[{"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/posts\/1498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1498"}],"version-history":[{"count":8,"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/posts\/1498\/revisions"}],"predecessor-version":[{"id":1530,"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/posts\/1498\/revisions\/1530"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=\/wp\/v2\/media\/1501"}],"wp:attachment":[{"href":"https:\/\/olvas.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olvas.dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}