{"id":7225,"date":"2018-09-01T02:56:15","date_gmt":"2018-09-01T09:56:15","guid":{"rendered":"http:\/\/www.mysqltutorial.org\/?page_id=7225"},"modified":"2023-10-07T01:29:40","modified_gmt":"2023-10-07T08:29:40","slug":"mysql-abs-function","status":"publish","type":"page","link":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs-function\/","title":{"rendered":"MySQL ABS Function"},"content":{"rendered":"\n<p><strong>Summary<\/strong>: in this tutorial, you will learn how to use the MySQL <code>ABS()<\/code> function to return the absolute value of a number.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL ABS() function overview<\/h2>\n\n\n\n<p>The <code>ABS()<\/code> function is a mathematical function that returns the absolute (no-negative) value of a numeric expression or a numeric column. <\/p>\n\n\n\n<p>The <code>ABS()<\/code> function removes the sign of a number. So if the input is positive or negative, it always returns a positive number or zero.<\/p>\n\n\n\n<p>Here&#8217;s the syntax of the <code>ABS()<\/code> function:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\">ABS(numeric_expression)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>In this syntax, <code>numeric_expression<\/code> is a literal number or an expression that evaluates to a number. <\/p>\n\n\n\n<p>If <code>numeric_expression<\/code> is a negative number, the <code>ABS()<\/code> function returns the positive value of the negative value. If <code>numeric_expression<\/code> is zero or positive, <code>ABS()<\/code> function has no effect.<\/p>\n\n\n\n<p>The data type of the return value is the same as the data type of the input argument.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL ABS() function examples<\/h2>\n\n\n\n<p>Let&#8217;s take some examples of using the <code>ABS()<\/code> function.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1) Simple ABS() function example<\/h3>\n\n\n\n<p>The following example uses the ABS function to return the absolute values of three different numbers:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span> \n    <span class=\"hljs-keyword\">ABS<\/span>(<span class=\"hljs-number\">-10<\/span>), \n    <span class=\"hljs-keyword\">ABS<\/span>(<span class=\"hljs-number\">0<\/span>), \n    <span class=\"hljs-keyword\">ABS<\/span>(<span class=\"hljs-number\">10<\/span>);  <\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Output:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"217\" height=\"39\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-Example.png\" alt=\"MySQL ABS Function Example\" class=\"wp-image-7227\" title=\"MySQL ABS Function Example\" srcset=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-Example.png 217w, https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-Example-200x36.png 200w\" sizes=\"auto, (max-width: 217px) 100vw, 217px\" \/><\/figure>\n\n\n\n<p>In this example, the <code>ABS()<\/code> function returns the absolute value of -10, which is 10. It doesn&#8217;t have any effect on the 0 and 10.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2) Using ABS() function on table columns<\/h3>\n\n\n\n<p>We will use the <code>products<\/code> table from the <a href=\"https:\/\/www.mysqltutorial.org\/getting-started-with-mysql\/mysql-sample-database\/\">sample database<\/a> for the demonstration:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"181\" height=\"231\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2013\/05\/products_table.png\" alt=\"products table\" class=\"wp-image-2493\" title=\"products table\"\/><\/figure>\n\n\n\n<p>The following query uses the <code>ABS()<\/code> function to find the product code, MSRP, and the deviation of product MSRP from the average MSRP of the product within its product line.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span> \n    productName, \n    productLine,\n    msrp,\n    <span class=\"hljs-keyword\">ABS<\/span>(\n        <span class=\"hljs-keyword\">ROUND<\/span>(\n            msrp - <span class=\"hljs-keyword\">AVG<\/span>(msrp) <span class=\"hljs-keyword\">OVER<\/span> (\n                <span class=\"hljs-keyword\">PARTITION<\/span> <span class=\"hljs-keyword\">BY<\/span> productLine\n            )\n        )\n    ) deviation\n<span class=\"hljs-keyword\">FROM<\/span>\n    products\n<span class=\"hljs-keyword\">ORDER<\/span> <span class=\"hljs-keyword\">BY<\/span> \n    productName;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Output:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"421\" height=\"241\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-deviation-example.png\" alt=\"MySQL ABS Function deviation example\" class=\"wp-image-7226\" title=\"MySQL ABS Function deviation example\" srcset=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-deviation-example.png 421w, https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-deviation-example-200x114.png 200w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/figure>\n\n\n\n<p>How it works.<\/p>\n\n\n\n<p>First, the <code>AVG()<\/code> <a href=\"https:\/\/www.mysqltutorial.org\/mysql-window-functions\/\">window function<\/a> returns the average MSRP of each product within its product line:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\">AVG(msrp) OVER ( PARTITION BY productLine )<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Second, use the following formula to return the difference between MSRP and average product line MSRP:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\">msrp - AVG(msrp) OVER (PARTITION BY productLine)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Third, use the <code><a href=\"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-round\/\">ROUND()<\/a><\/code> function to round the deviation to zero decimals.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\">ROUND(\n     msrp - AVG(msrp) OVER (\n        PARTITION BY productLine\n       )\n)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Finally, use the <code>ABS()<\/code> function to return the absolute values of deviations. Note that due to certain products having an MSRP lower than the average MSRP, their deviations from the average value are negative. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use the <code>ABS()<\/code> function to get the absolute value of a number.<\/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=\"7225\"\n\t\t\t\tdata-post-url=\"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs-function\/\"\n\t\t\t\tdata-post-title=\"MySQL ABS 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=\"7225\"\n\t\t\t\tdata-post-url=\"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs-function\/\"\n\t\t\t\tdata-post-title=\"MySQL ABS 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>This tutorial shows you how to use the MySQL ABS() function to return the absolute value of a number.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":7107,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7225","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>MySQL ABS Function<\/title>\n<meta name=\"description\" content=\"This tutorial explains how to use the MySQL ABS() function that returns the absolute value of a number.\" \/>\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.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL ABS Function\" \/>\n<meta property=\"og:description\" content=\"This tutorial explains how to use the MySQL ABS() function that returns the absolute value of a number.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/\" \/>\n<meta property=\"og:site_name\" content=\"MySQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-07T08:29:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-Example.png\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/mysql-abs\\\/\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/mysql-abs\\\/\",\"name\":\"MySQL ABS Function\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/mysql-abs\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/mysql-abs\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/MySQL-ABS-Function-Example.png\",\"datePublished\":\"2018-09-01T09:56:15+00:00\",\"dateModified\":\"2023-10-07T08:29:40+00:00\",\"description\":\"This tutorial explains how to use the MySQL ABS() function that returns the absolute value of a number.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/mysql-abs\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/mysql-abs\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/mysql-abs\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/MySQL-ABS-Function-Example.png\",\"contentUrl\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2018\\\/09\\\/MySQL-ABS-Function-Example.png\",\"width\":217,\"height\":39,\"caption\":\"MySQL ABS Function Example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/mysql-abs\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.mysqltutorial.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL Math Functions\",\"item\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-math-functions\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MySQL ABS Function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/#website\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/\",\"name\":\"MySQL Tutorial\",\"description\":\"A comprehensive MySQL Tutorial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mysqltutorial.org\\\/?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":"MySQL ABS Function","description":"This tutorial explains how to use the MySQL ABS() function that returns the absolute value of a number.","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.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/","og_locale":"en_US","og_type":"article","og_title":"MySQL ABS Function","og_description":"This tutorial explains how to use the MySQL ABS() function that returns the absolute value of a number.","og_url":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/","og_site_name":"MySQL Tutorial","article_modified_time":"2023-10-07T08:29:40+00:00","og_image":[{"url":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-Example.png","type":"","width":"","height":""}],"twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/","url":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/","name":"MySQL ABS Function","isPartOf":{"@id":"https:\/\/www.mysqltutorial.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/#primaryimage"},"image":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-Example.png","datePublished":"2018-09-01T09:56:15+00:00","dateModified":"2023-10-07T08:29:40+00:00","description":"This tutorial explains how to use the MySQL ABS() function that returns the absolute value of a number.","breadcrumb":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/#primaryimage","url":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-Example.png","contentUrl":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2018\/09\/MySQL-ABS-Function-Example.png","width":217,"height":39,"caption":"MySQL ABS Function Example"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/mysql-abs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mysqltutorial.org\/"},{"@type":"ListItem","position":2,"name":"MySQL Math Functions","item":"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/"},{"@type":"ListItem","position":3,"name":"MySQL ABS Function"}]},{"@type":"WebSite","@id":"https:\/\/www.mysqltutorial.org\/#website","url":"https:\/\/www.mysqltutorial.org\/","name":"MySQL Tutorial","description":"A comprehensive MySQL Tutorial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mysqltutorial.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/7225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/comments?post=7225"}],"version-history":[{"count":3,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/7225\/revisions"}],"predecessor-version":[{"id":10702,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/7225\/revisions\/10702"}],"up":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/7107"}],"wp:attachment":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/media?parent=7225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}