{"id":12405,"date":"2020-02-23T13:42:00","date_gmt":"2020-02-23T21:42:00","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=12405"},"modified":"2023-12-01T02:29:56","modified_gmt":"2023-12-01T10:29:56","slug":"sql-union","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/sql-union\/","title":{"rendered":"SQL Union"},"content":{"rendered":"\n<p>When you\u2019re querying a database, you may want to combine the result of two or more <code>SELECT<\/code> statements. For example, you may want to get a list of the cities in which your customers are based, and the cities in which your business has branches. You could run two queries to achieve this goal, but you may want to have a result in one query.<\/p>\n\n\n\n<p>That\u2019s where the <code>SQL UNION<\/code> operator comes in. The <code>UNION<\/code> clause can be used to combine the results of two or more <code>SELECT<\/code> queries into a single result set.<\/p>\n\n\n\n<p>In this tutorial, we are going to break down the basics of the <code>SQL UNION<\/code> operator and discuss where you may want to use this command when you\u2019re working with a database.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Query Refresher<\/h2>\n\n\n\n<p>Programmers use queries to retrieve information from a database. Queries almost always begin with the <code>SQL SELECT<\/code> statement and are used to retrieve data based on a set of criteria. Queries usually include the <code>FROM<\/code> operator, which states which table will be queried, among other operators that can filter the resulting data.<\/p>\n\n\n\n<p>Here is the general syntax for an <code>SQL<\/code> query: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT column_name FROM table_name WHERE your_condititions_are_met;<\/pre><\/div>\n\n\n\n<p>Here\u2019s an example of an <code>SQL<\/code> query that returns a list of all employee names: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT name FROM employees;<\/pre><\/div>\n\n\n\n<p>The output from our query is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-table course-info-table\"><table><tbody><tr><td>name<\/td><\/tr><tr><td>Luke<br>Mike<br>Hannah<br>Geoff<br>Alexis<br>Emma<br>Jonah<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>(7 rows)<\/p>\n\n\n\n<p>If you want to retrieve information from multiple columns, you can so do by separating the column names with a comma. If you want to get data from every column, you can use an asterisk (<code>*<\/code>) instead, which represents every column in a table.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SQL Union<\/h2>\n\n\n\n<p>The <code>SQL UNION<\/code> operator can be used to combine the results of two or more queries into a single response that results in one table.<\/p>\n\n\n\n<p>In order to use the <code>UNION<\/code> operator, two conditions must be met. Firstly, the data types of the new columns should be compatible\u2014if a salary is an integer in one table and a float in the other, the union would not work. Secondly, the number and order of the columns must be the same in your queries.<\/p>\n\n\n\n<p>Here\u2019s the syntax for an <code>SQL UNION<\/code> query:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT column_name FROM table1_name\nUNION SELECT column_name FROM table2_name;<\/pre><\/div>\n\n\n\n<p>Let\u2019s use an example to illustrate how the <code>SQL UNION<\/code> operator works. Let\u2019s say that we are a business that needs to send an announcement to all of our customers. We also want all employees to be sent this announcement so they are aware of what is going on.<\/p>\n\n\n\n<p>We could use the following <code>SQL<\/code> query to get a list of the emails of both our customers and our employees so we can send them all the announcement:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT name, email FROM employees\nUNION SELECT name, email FROM customers;<\/pre><\/div>\n\n\n\n<p>Here is the output from our query:<\/p>\n\n\n\n<figure class=\"wp-block-table course-info-table\"><table><tbody><tr><td>name&nbsp;<\/td><td>email<\/td><\/tr><tr><td>Emma<\/td><td>emma.a@gmail.com<\/td><\/tr><tr><td>Jonah<\/td><td>jonah.h@gmail.com<\/td><\/tr><tr><td>Hannah<\/td><td>hannah.y@gmail.com<\/td><\/tr><tr><td>Luke<\/td><td>luke.e@gmail.com<\/td><\/tr><tr><td>John<\/td><td>john.p@outlook.com<\/td><\/tr><tr><td>Geoff<\/td><td>geoff.l@gmail.com<\/td><\/tr><tr><td>Alexis<\/td><td>alexis.e@gmail.com<\/td><\/tr><tr><td>Fred<\/td><td>fred.s@gmail.com<\/td><\/tr><tr><td>Erin<\/td><td>erin.a@gmail.com<\/td><\/tr><tr><td>Katy<\/td><td>katy.l@gmail.com<\/td><\/tr><tr><td>Anne<\/td><td>anne.s@gmail.com<\/td><\/tr><tr><td>Tom<\/td><td>tom.h@gmail.com<\/td><\/tr><tr><td>Mike<\/td><td>mike.h@gmail.com<\/td><\/tr><tr><td>Hannah<\/td><td>hannah.p@gmail.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>(14 rows)<\/p>\n\n\n\n<p>As you can see, our <code>UNION<\/code> query returned a list of all the names and email addresses for both our customers and our employees.<\/p>\n\n\n\n<p>It\u2019s worth noting that the <code>UNION<\/code> operator removes duplicate rows from the combined final result. This means that if one of our employees was also a customer, we would only see their information once.<\/p>\n\n\n\n<p>While this worked out in the above example, if you want to return a result including duplicate rows, you would need to add the <code>ALL<\/code> keyword to your query. Here\u2019s an example:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT name, email FROM employees\nUNION ALL\nSELECT name, email FROM customers;<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>In this tutorial we\u2019ve broken down how to use the <code>UNION<\/code> operator on an <code>SQL<\/code> server. As we\u2018ve discussed, <code>UNION<\/code> can be used to get data from two tables and combine the response into a single table. For example, if you wanted to get a list of your suppliers\u2019 and distributors\u2019 addresses\u2014which were both stored in separate tables\u2014you could use a <code>UNION<\/code> query.<\/p>\n","protected":false},"excerpt":{"rendered":"When you\u2019re querying a database, you may want to combine the result of two or more SELECT statements. For example, you may want to get a list of the cities in which your customers are based, and the cities in which your business has branches. You could run two queries to achieve this goal, but&hellip;","protected":false},"author":240,"featured_media":12406,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17284],"tags":[],"class_list":{"0":"post-12405","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-sql"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"SQL","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":"","is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SQL Union: combine the result of two or more SELECT statements<\/title>\n<meta name=\"description\" content=\"The union SQL function allows coders to combine the results of two or more queries into one final table. Learn more in this Career Karma article.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/sql-union\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Union\" \/>\n<meta property=\"og:description\" content=\"The union SQL function allows coders to combine the results of two or more queries into one final table. Learn more in this Career Karma article.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/sql-union\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-23T21:42:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T10:29:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/SQL-UNION.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"SQL Union\",\"datePublished\":\"2020-02-23T21:42:00+00:00\",\"dateModified\":\"2023-12-01T10:29:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/\"},\"wordCount\":652,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/SQL-UNION.jpg\",\"articleSection\":[\"SQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/\",\"name\":\"SQL Union: combine the result of two or more SELECT statements\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/SQL-UNION.jpg\",\"datePublished\":\"2020-02-23T21:42:00+00:00\",\"dateModified\":\"2023-12-01T10:29:56+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The union SQL function allows coders to combine the results of two or more queries into one final table. Learn more in this Career Karma article.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/SQL-UNION.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/SQL-UNION.jpg\",\"width\":1000,\"height\":667},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql-union\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/sql\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SQL Union\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/author\\\/jamesgallagher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SQL Union: combine the result of two or more SELECT statements","description":"The union SQL function allows coders to combine the results of two or more queries into one final table. Learn more in this Career Karma article.","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:\/\/careerkarma.com\/blog\/sql-union\/","og_locale":"en_US","og_type":"article","og_title":"SQL Union","og_description":"The union SQL function allows coders to combine the results of two or more queries into one final table. Learn more in this Career Karma article.","og_url":"https:\/\/careerkarma.com\/blog\/sql-union\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-02-23T21:42:00+00:00","article_modified_time":"2023-12-01T10:29:56+00:00","og_image":[{"width":1000,"height":667,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/SQL-UNION.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/sql-union\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/sql-union\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"SQL Union","datePublished":"2020-02-23T21:42:00+00:00","dateModified":"2023-12-01T10:29:56+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/sql-union\/"},"wordCount":652,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/sql-union\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/SQL-UNION.jpg","articleSection":["SQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/sql-union\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/sql-union\/","url":"https:\/\/careerkarma.com\/blog\/sql-union\/","name":"SQL Union: combine the result of two or more SELECT statements","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/sql-union\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/sql-union\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/SQL-UNION.jpg","datePublished":"2020-02-23T21:42:00+00:00","dateModified":"2023-12-01T10:29:56+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The union SQL function allows coders to combine the results of two or more queries into one final table. Learn more in this Career Karma article.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/sql-union\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/sql-union\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/sql-union\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/SQL-UNION.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/SQL-UNION.jpg","width":1000,"height":667},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/sql-union\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL","item":"https:\/\/careerkarma.com\/blog\/sql\/"},{"@type":"ListItem","position":3,"name":"SQL Union"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=12405"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12405\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/12406"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=12405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=12405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=12405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}