{"id":2176,"date":"2025-02-18T11:26:53","date_gmt":"2025-02-18T04:26:53","guid":{"rendered":"https:\/\/www.pgtutorial.com\/?page_id=2176"},"modified":"2025-02-18T11:27:51","modified_gmt":"2025-02-18T04:27:51","slug":"postgresql-reverse","status":"publish","type":"page","link":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/","title":{"rendered":"PostgreSQL REVERSE Function"},"content":{"rendered":"\n<p><strong>Summary<\/strong>: in this tutorial, you&#8217;ll learn how to reverse a string using the PostgreSQL <code>REVERSE<\/code> function.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id='postgresql-reverse-function-overview'>PostgreSQL REVERSE function overview <a href=\"#postgresql-reverse-function-overview\" class=\"anchor\" id=\"postgresql-reverse-function-overview\" title=\"Anchor for PostgreSQL REVERSE function overview\">#<\/a><\/h2>\n\n\n\n<p>The <code>REVERSE<\/code> function accepts a string and returns a new string that is the reverse of the input string.<\/p>\n\n\n\n<p>The syntax of the <code>REVERSE<\/code> function is as follows:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PostgreSQL SQL dialect and PL\/pgSQL\" data-shcb-language-slug=\"pgsql\"><span><code class=\"hljs language-pgsql\">REVERSE(<span class=\"hljs-type\">text<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PostgreSQL SQL dialect and PL\/pgSQL<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">pgsql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>The <code>REVERSE<\/code> function accepts one argument:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>text<\/code>: the input string you want to reverse.<\/li>\n<\/ul>\n\n\n\n<p>The function returns a string with an order of characters in the input string reversed. It returns <code>NULL<\/code> if the input string is <code>NULL<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id='basic-postgresql-reverse-function-example'>Basic PostgreSQL REVERSE function example <a href=\"#basic-postgresql-reverse-function-example\" class=\"anchor\" id=\"basic-postgresql-reverse-function-example\" title=\"Anchor for Basic PostgreSQL REVERSE function example\">#<\/a><\/h2>\n\n\n\n<p>The following example uses the <code>REVERSE<\/code> function to reverse the string <code>'abc'<\/code>:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PostgreSQL SQL dialect and PL\/pgSQL\" data-shcb-language-slug=\"pgsql\"><span><code class=\"hljs language-pgsql\"><span class=\"hljs-keyword\">SELECT<\/span>\n  REVERSE(<span class=\"hljs-string\">'abc'<\/span>) result;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PostgreSQL SQL dialect and PL\/pgSQL<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">pgsql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/www.pgtutorial.com\/playground\/?q=U0VMRUNUIFJFVkVSU0UoJ2FiYycpIHJlc3VsdDs%3D\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<p>Output:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"PostgreSQL SQL dialect and PL\/pgSQL\" data-shcb-language-slug=\"pgsql\"><span><code class=\"hljs language-pgsql\"> result\n<span class=\"hljs-comment\">--------<\/span>\n cba<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PostgreSQL SQL dialect and PL\/pgSQL<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">pgsql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\" id='detecting-palindromes'>Detecting palindromes <a href=\"#detecting-palindromes\" class=\"anchor\" id=\"detecting-palindromes\" title=\"Anchor for Detecting palindromes\">#<\/a><\/h2>\n\n\n\n<p>A palindrome is a sequence of characters that reads the same forward and backward (ignoring spaces, punctuation, and capitalization).<\/p>\n\n\n\n<p>For example, <code>madam<\/code> is a palindromic word. A famous palindromic phrase is: <code>\"A man, a plan, a canal, Panama!\"<\/code>.<\/p>\n\n\n\n<p>The following defines a function <code>is_palindromic<\/code> that returns <code>true<\/code> if a string is palindromic:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PostgreSQL SQL dialect and PL\/pgSQL\" data-shcb-language-slug=\"pgsql\"><span><code class=\"hljs language-pgsql\"><span class=\"hljs-keyword\">CREATE<\/span> <span class=\"hljs-keyword\">OR REPLACE<\/span> <span class=\"hljs-keyword\">FUNCTION<\/span> is_palindromic (\n   input_string <span class=\"hljs-type\">TEXT<\/span>\n) \n<span class=\"hljs-keyword\">RETURNS<\/span> <span class=\"hljs-type\">BOOLEAN<\/span> \n<span class=\"hljs-keyword\">AS<\/span> \n$$<span class=\"pgsql\">\n<span class=\"hljs-keyword\">DECLARE<\/span>\n    cleaned_string <span class=\"hljs-type\">TEXT<\/span>;\n<span class=\"hljs-keyword\">BEGIN<\/span>\n    <span class=\"hljs-comment\">-- Remove non-alphanumeric characters and convert to lowercase<\/span>\n    cleaned_string := REGEXP_REPLACE(LOWER(input_string), <span class=\"hljs-string\">'&#91;^a-z0-9]'<\/span>, <span class=\"hljs-string\">''<\/span>, <span class=\"hljs-string\">'g'<\/span>);\n\n    <span class=\"hljs-comment\">-- Compare the cleaned string with its reversed version<\/span>\n    <span class=\"hljs-keyword\">IF<\/span> cleaned_string = REVERSE(cleaned_string) <span class=\"hljs-keyword\">THEN<\/span>\n        <span class=\"hljs-keyword\">RETURN<\/span> <span class=\"hljs-keyword\">TRUE<\/span>;\n    <span class=\"hljs-keyword\">ELSE<\/span>\n        <span class=\"hljs-keyword\">RETURN<\/span> <span class=\"hljs-keyword\">FALSE<\/span>;\n    <span class=\"hljs-keyword\">END<\/span> <span class=\"hljs-keyword\">IF<\/span>;\n<span class=\"hljs-keyword\">END<\/span>;\n$$<\/span> <span class=\"hljs-keyword\">LANGUAGE<\/span> plpgsql;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PostgreSQL SQL dialect and PL\/pgSQL<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">pgsql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/www.pgtutorial.com\/playground\/?q=Q1JFQVRFIE9SIFJFUExBQ0UgRlVOQ1RJT04gaXNfcGFsaW5kcm9taWMgKAogICBpbnB1dF9zdHJpbmcgVEVYVAopIApSRVRVUk5TIEJPT0xFQU4gCkFTIAokJApERUNMQVJFCiAgICBjbGVhbmVkX3N0cmluZyBURVhUOwpCRUdJTgogICAgLS0gUmVtb3ZlIG5vbi1hbHBoYW51bWVyaWMgY2hhcmFjdGVycyBhbmQgY29udmVydCB0byBsb3dlcmNhc2UKICAgIGNsZWFuZWRfc3RyaW5nIDo9IFJFR0VYUF9SRVBMQUNFKExPV0VSKGlucHV0X3N0cmluZyksICdbXmEtejAtOV0nLCAnJywgJ2cnKTsKCiAgICAtLSBDb21wYXJlIHRoZSBjbGVhbmVkIHN0cmluZyB3aXRoIGl0cyByZXZlcnNlZCB2ZXJzaW9uCiAgICBJRiBjbGVhbmVkX3N0cmluZyA9IFJFVkVSU0UoY2xlYW5lZF9zdHJpbmcpIFRIRU4KICAgICAgICBSRVRVUk4gVFJVRTsKICAgIEVMU0UKICAgICAgICBSRVRVUk4gRkFMU0U7CiAgICBFTkQgSUY7CkVORDsKJCQgTEFOR1VBR0UgcGxwZ3NxbDs%3D\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<p>How the function works:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, remove non-alphanumeric characters from the input string and convert it to lowercase.<\/li>\n\n\n\n<li>Second, compare the cleaned string with its reversed version.<\/li>\n<\/ul>\n\n\n\n<p>The following example uses the <code>is_palindromic<\/code> function to verify if strings are palindromic:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PostgreSQL SQL dialect and PL\/pgSQL\" data-shcb-language-slug=\"pgsql\"><span><code class=\"hljs language-pgsql\"><span class=\"hljs-keyword\">SELECT<\/span>\n  is_palindromic (<span class=\"hljs-string\">'A man, a plan, a canal, Panama!'<\/span>),\n  is_palindromic (<span class=\"hljs-string\">'level'<\/span>),\n  is_palindromic (<span class=\"hljs-string\">'man'<\/span>);<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PostgreSQL SQL dialect and PL\/pgSQL<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">pgsql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><a href=\"https:\/\/www.pgtutorial.com\/playground\/?q=U0VMRUNUIGlzX3BhbGluZHJvbWljICgnQSBtYW4sIGEgcGxhbiwgYSBjYW5hbCwgUGFuYW1hIScpLCBpc19wYWxpbmRyb21pYyAoJ2xldmVsJyksIGlzX3BhbGluZHJvbWljICgnbWFuJyk7\" target=\"_blank\" rel=\"noreferrer noopener\">Try it<\/a><\/p>\n\n\n\n<p>Output:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PostgreSQL SQL dialect and PL\/pgSQL\" data-shcb-language-slug=\"pgsql\"><span><code class=\"hljs language-pgsql\"> is_palindromic | is_palindromic | is_palindromic\n<span class=\"hljs-comment\">----------------+----------------+----------------<\/span>\n t              | t              | f<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PostgreSQL SQL dialect and PL\/pgSQL<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">pgsql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\" id='summary'>Summary <a href=\"#summary\" class=\"anchor\" id=\"summary\" title=\"Anchor for Summary\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the <code>REVERSE<\/code> function to reverse a string.<\/li>\n<\/ul>\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Was this tutorial helpful ?<\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"2176\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/\"\n\t\t\t\tdata-post-title=\"PostgreSQL REVERSE Function\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"2176\"\n\t\t\t\tdata-post-url=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/\"\n\t\t\t\tdata-post-title=\"PostgreSQL REVERSE Function\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\n\t\t\t<button class=\"btn btn-primary wth-btn-submit\">Send<\/button>\n\t\t\t<button class=\"btn wth-btn-cancel\">Cancel<\/button>\n\t\t\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Summary: in this tutorial, you&#8217;ll learn how to reverse a string using the PostgreSQL REVERSE function. PostgreSQL REVERSE function overview # The REVERSE function accepts a string and returns a new string that is the reverse of the input string. The syntax of the REVERSE function is as follows: The REVERSE function accepts one argument: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1800,"menu_order":28,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2176","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PostgreSQL REVERSE Function<\/title>\n<meta name=\"description\" content=\"In this tutorial, you&#039;ll learn how to reverse a string using the PostgreSQL REVERSE function.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PostgreSQL REVERSE Function\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, you&#039;ll learn how to reverse a string using the PostgreSQL REVERSE function.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/\" \/>\n<meta property=\"og:site_name\" content=\"PostgreSQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-18T04:27:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/postgresql-reverse\\\/\",\"url\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/postgresql-reverse\\\/\",\"name\":\"PostgreSQL REVERSE Function\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/#website\"},\"datePublished\":\"2025-02-18T04:26:53+00:00\",\"dateModified\":\"2025-02-18T04:27:51+00:00\",\"description\":\"In this tutorial, you'll learn how to reverse a string using the PostgreSQL REVERSE function.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/postgresql-reverse\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/postgresql-reverse\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/postgresql-reverse\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pgtutorial.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PostgreSQL String Functions\",\"item\":\"https:\\\/\\\/www.pgtutorial.com\\\/postgresql-string-functions\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PostgreSQL REVERSE Function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pgtutorial.com\\\/#website\",\"url\":\"https:\\\/\\\/www.pgtutorial.com\\\/\",\"name\":\"PostgreSQL Tutorial\",\"description\":\"Learn PostgreSQL from Scratch\",\"alternateName\":\"PostgreSQL\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pgtutorial.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PostgreSQL REVERSE Function","description":"In this tutorial, you'll learn how to reverse a string using the PostgreSQL REVERSE function.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/","og_locale":"en_US","og_type":"article","og_title":"PostgreSQL REVERSE Function","og_description":"In this tutorial, you'll learn how to reverse a string using the PostgreSQL REVERSE function.","og_url":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/","og_site_name":"PostgreSQL Tutorial","article_modified_time":"2025-02-18T04:27:51+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/","url":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/","name":"PostgreSQL REVERSE Function","isPartOf":{"@id":"https:\/\/www.pgtutorial.com\/#website"},"datePublished":"2025-02-18T04:26:53+00:00","dateModified":"2025-02-18T04:27:51+00:00","description":"In this tutorial, you'll learn how to reverse a string using the PostgreSQL REVERSE function.","breadcrumb":{"@id":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/postgresql-reverse\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pgtutorial.com\/"},{"@type":"ListItem","position":2,"name":"PostgreSQL String Functions","item":"https:\/\/www.pgtutorial.com\/postgresql-string-functions\/"},{"@type":"ListItem","position":3,"name":"PostgreSQL REVERSE Function"}]},{"@type":"WebSite","@id":"https:\/\/www.pgtutorial.com\/#website","url":"https:\/\/www.pgtutorial.com\/","name":"PostgreSQL Tutorial","description":"Learn PostgreSQL from Scratch","alternateName":"PostgreSQL","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pgtutorial.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/2176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/comments?post=2176"}],"version-history":[{"count":5,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/2176\/revisions"}],"predecessor-version":[{"id":2181,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/2176\/revisions\/2181"}],"up":[{"embeddable":true,"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/pages\/1800"}],"wp:attachment":[{"href":"https:\/\/www.pgtutorial.com\/wp-json\/wp\/v2\/media?parent=2176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}