{"id":499,"date":"2011-05-04T12:56:50","date_gmt":"2011-05-04T12:56:50","guid":{"rendered":"http:\/\/www.mysqltutorial.org\/?page_id=499"},"modified":"2021-04-25T23:30:30","modified_gmt":"2021-04-26T06:30:30","slug":"mysql-functions","status":"publish","type":"page","link":"https:\/\/www.mysqltutorial.org\/mysql-functions\/","title":{"rendered":"MySQL Functions"},"content":{"rendered":"\n<p>This section gives you the most commonly used <strong>MySQL functions<\/strong> including aggregate functions, string functions, date-time functions, control flow functions, etc.<br><\/p>\n\n\n<section class=\"feature-pages\"><article class=\"feature-page\"><div class=\"feature-image\"><img decoding=\"async\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2021\/04\/mysql-aggregate-functions.svg\" width =\"90\" height=\"90\" alt=\"\"><\/div><div class=\"feature-body\">\n\t\t\t\t<h3>\n\t\t\t\t\t<a href=\"https:\/\/www.mysqltutorial.org\/mysql-aggregate-functions\/\">MySQL Aggregate Functions<\/a>\n\t\t\t\t<\/h3>\n\t\t\t\t<div>Aggregate functions allow you to perform a calculation on a set of records and return a single value. In this tutorial, you will learn various MySQL aggregate functions including SUM, AVG, MAX, MIN and COUNT functions.<\/div>\n\t\t\t<\/div>\n\t\t<\/article><article class=\"feature-page\"><div class=\"feature-image\"><img decoding=\"async\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2021\/04\/mysql-comparison-functions.svg\" width =\"90\" height=\"90\" alt=\"\"><\/div><div class=\"feature-body\">\n\t\t\t\t<h3>\n\t\t\t\t\t<a href=\"https:\/\/www.mysqltutorial.org\/mysql-comparison-functions\/\">MySQL Comparison Functions<\/a>\n\t\t\t\t<\/h3>\n\t\t\t\t<div>In this section, you will learn about the comparison functions in MySQL including COALESCE, GREATEST, LEAST, and ISNULL.<\/div>\n\t\t\t<\/div>\n\t\t<\/article><article class=\"feature-page\"><div class=\"feature-image\"><img decoding=\"async\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2021\/04\/mysql-control-functions.svg\" width =\"90\" height=\"90\" alt=\"\"><\/div><div class=\"feature-body\">\n\t\t\t\t<h3>\n\t\t\t\t\t<a href=\"https:\/\/www.mysqltutorial.org\/mysql-control-flow-functions\/\">MySQL Control Flow Functions and Expressions<\/a>\n\t\t\t\t<\/h3>\n\t\t\t\t<div>The control flow functions allow you to add if-then-else logic to SQL queries without using the procedural code.<\/div>\n\t\t\t<\/div>\n\t\t<\/article><article class=\"feature-page\"><div class=\"feature-image\"><img decoding=\"async\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2021\/04\/mysql-date-functions.svg\" width =\"90\" height=\"90\" alt=\"\"><\/div><div class=\"feature-body\">\n\t\t\t\t<h3>\n\t\t\t\t\t<a href=\"https:\/\/www.mysqltutorial.org\/mysql-date-functions\/\">MySQL Date Functions<\/a>\n\t\t\t\t<\/h3>\n\t\t\t\t<div>This page shows you the most commonly used MySQL Date Functions that allow you to manipulate date and time data effectively.<\/div>\n\t\t\t<\/div>\n\t\t<\/article><article class=\"feature-page\"><div class=\"feature-image\"><img decoding=\"async\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2021\/04\/mysql-string-functions.svg\" width =\"90\" height=\"90\" alt=\"\"><\/div><div class=\"feature-body\">\n\t\t\t\t<h3>\n\t\t\t\t\t<a href=\"https:\/\/www.mysqltutorial.org\/mysql-string-functions\/\">MySQL String Functions<\/a>\n\t\t\t\t<\/h3>\n\t\t\t\t<div>This page lists MySQL string functions that allow you to manipulate strings effectively.<\/div>\n\t\t\t<\/div>\n\t\t<\/article><article class=\"feature-page\"><div class=\"feature-image\"><img decoding=\"async\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2021\/04\/mysql-window-functions.svg\" width =\"90\" height=\"90\" alt=\"\"><\/div><div class=\"feature-body\">\n\t\t\t\t<h3>\n\t\t\t\t\t<a href=\"https:\/\/www.mysqltutorial.org\/mysql-window-functions\/\">MySQL Window Functions<\/a>\n\t\t\t\t<\/h3>\n\t\t\t\t<div>This tutorial provides you with some practical and motivational examples of the window functions.<\/div>\n\t\t\t<\/div>\n\t\t<\/article><article class=\"feature-page\"><div class=\"feature-image\"><img decoding=\"async\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2021\/04\/mysql-math-functions.svg\" width =\"90\" height=\"90\" alt=\"\"><\/div><div class=\"feature-body\">\n\t\t\t\t<h3>\n\t\t\t\t\t<a href=\"https:\/\/www.mysqltutorial.org\/mysql-math-functions\/\">MySQL Math Functions<\/a>\n\t\t\t\t<\/h3>\n\t\t\t\t<div>This page explores the most frequently used MySQL mathematical functions with practical & real world examples.<\/div>\n\t\t\t<\/div>\n\t\t<\/article><\/section>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This section gives you the most commonly used MySQL functions including aggregate functions, string functions, date and time functions, and control flow functions.<\/p>\n","protected":false},"author":2,"featured_media":9050,"parent":0,"menu_order":13,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-499","page","type-page","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MySQL Functions<\/title>\n<meta name=\"description\" content=\"This section gives you the most commonly used MySQL functions including aggregate functions, string functions, date functions, and control flow functions.\" \/>\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-functions.aspx\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL Functions\" \/>\n<meta property=\"og:description\" content=\"This section gives you the most commonly used MySQL functions including aggregate functions, string functions, date functions, and control flow functions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx\" \/>\n<meta property=\"og:site_name\" content=\"MySQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-26T06:30:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/09\/MySQL-Function.png\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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.mysqltutorial.org\\\/mysql-functions.aspx\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-functions.aspx\",\"name\":\"MySQL Functions\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-functions.aspx#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-functions.aspx#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/MySQL-Function.png\",\"datePublished\":\"2011-05-04T12:56:50+00:00\",\"dateModified\":\"2021-04-26T06:30:30+00:00\",\"description\":\"This section gives you the most commonly used MySQL functions including aggregate functions, string functions, date functions, and control flow functions.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-functions.aspx#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-functions.aspx\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-functions.aspx#primaryimage\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/MySQL-Function.png\",\"contentUrl\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/MySQL-Function.png\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/mysql-functions.aspx#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.mysqltutorial.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL Functions\"}]},{\"@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 Functions","description":"This section gives you the most commonly used MySQL functions including aggregate functions, string functions, date functions, and control flow functions.","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-functions.aspx","og_locale":"en_US","og_type":"article","og_title":"MySQL Functions","og_description":"This section gives you the most commonly used MySQL functions including aggregate functions, string functions, date functions, and control flow functions.","og_url":"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx","og_site_name":"MySQL Tutorial","article_modified_time":"2021-04-26T06:30:30+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/09\/MySQL-Function.png","type":"image\/png"}],"twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx","url":"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx","name":"MySQL Functions","isPartOf":{"@id":"https:\/\/www.mysqltutorial.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx#primaryimage"},"image":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx#primaryimage"},"thumbnailUrl":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/09\/MySQL-Function.png","datePublished":"2011-05-04T12:56:50+00:00","dateModified":"2021-04-26T06:30:30+00:00","description":"This section gives you the most commonly used MySQL functions including aggregate functions, string functions, date functions, and control flow functions.","breadcrumb":{"@id":"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mysqltutorial.org\/mysql-functions.aspx"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx#primaryimage","url":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/09\/MySQL-Function.png","contentUrl":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2019\/09\/MySQL-Function.png","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.mysqltutorial.org\/mysql-functions.aspx#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mysqltutorial.org\/"},{"@type":"ListItem","position":2,"name":"MySQL Functions"}]},{"@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\/499","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=499"}],"version-history":[{"count":1,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/499\/revisions"}],"predecessor-version":[{"id":10083,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/499\/revisions\/10083"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/media\/9050"}],"wp:attachment":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/media?parent=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}