{"id":359,"date":"2025-05-27T02:29:24","date_gmt":"2025-05-27T02:29:24","guid":{"rendered":"https:\/\/techkubo.com\/sql\/?p=359"},"modified":"2025-06-09T07:58:13","modified_gmt":"2025-06-09T07:58:13","slug":"mysql-functions","status":"publish","type":"post","link":"https:\/\/techkubo.com\/sql\/mysql-functions\/","title":{"rendered":"MySQL Functions"},"content":{"rendered":"\n<p>MySQL offers many built-in functions to help process and analyze your data. These functions cover string manipulation, numeric operations, date handling, and advanced logic. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL String Functions<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Function<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>ASCII<\/td><td>Returns the ASCII code of a character<\/td><\/tr><tr><td>CHAR_LENGTH<\/td><td>Returns the number of characters in a string<\/td><\/tr><tr><td>CHARACTER_LENGTH<\/td><td>Returns the number of characters in a string<\/td><\/tr><tr><td>CONCAT<\/td><td>Combines two or more strings<\/td><\/tr><tr><td>CONCAT_WS<\/td><td>Combines strings with a separator<\/td><\/tr><tr><td>FIELD<\/td><td>Returns the index position of a value in a list<\/td><\/tr><tr><td>FIND_IN_SET<\/td><td>Finds the position of a string in a list of strings<\/td><\/tr><tr><td>FORMAT<\/td><td>Formats a number with commas and decimal places<\/td><\/tr><tr><td>INSERT<\/td><td>Inserts a substring into a string<\/td><\/tr><tr><td>INSTR<\/td><td>Returns the position of the first occurrence of a substring<\/td><\/tr><tr><td>LCASE<\/td><td>Converts a string to lowercase<\/td><\/tr><tr><td>LEFT<\/td><td>Returns the leftmost characters of a string<\/td><\/tr><tr><td>LENGTH<\/td><td>Returns the length of a string (in bytes)<\/td><\/tr><tr><td>LOCATE<\/td><td>Returns the position of a substring<\/td><\/tr><tr><td>LOWER<\/td><td>Converts a string to lowercase<\/td><\/tr><tr><td>LPAD<\/td><td>Left-pads a string<\/td><\/tr><tr><td>LTRIM<\/td><td>Removes leading spaces<\/td><\/tr><tr><td>MID<\/td><td>Extracts a substring<\/td><\/tr><tr><td>POSITION<\/td><td>Returns the position of a substring<\/td><\/tr><tr><td>REPEAT<\/td><td>Repeats a string<\/td><\/tr><tr><td>REPLACE<\/td><td>Replaces occurrences of a substring<\/td><\/tr><tr><td>REVERSE<\/td><td>Reverses a string<\/td><\/tr><tr><td>RIGHT<\/td><td>Returns the rightmost characters of a string<\/td><\/tr><tr><td>RPAD<\/td><td>Right-pads a string<\/td><\/tr><tr><td>RTRIM<\/td><td>Removes trailing spaces<\/td><\/tr><tr><td>SPACE<\/td><td>Returns a string of space characters<\/td><\/tr><tr><td>STRCMP<\/td><td>Compares two strings<\/td><\/tr><tr><td>SUBSTR<\/td><td>Extracts a substring<\/td><\/tr><tr><td>SUBSTRING<\/td><td>Extracts a substring<\/td><\/tr><tr><td>SUBSTRING_INDEX<\/td><td>Returns a substring before the nth occurrence of a delimiter<\/td><\/tr><tr><td>TRIM<\/td><td>Removes leading and trailing spaces<\/td><\/tr><tr><td>UCASE<\/td><td>Converts a string to uppercase<\/td><\/tr><tr><td>UPPER<\/td><td>Converts a string to uppercase<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL Numeric Functions <\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Function<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>ABS<\/td><td>Returns the absolute value<\/td><\/tr><tr><td>ACOS<\/td><td>Returns arc cosine<\/td><\/tr><tr><td>ASIN<\/td><td>Returns arc sine<\/td><\/tr><tr><td>ATAN<\/td><td>Returns arc tangent of one or two numbers<\/td><\/tr><tr><td>ATAN2<\/td><td>Returns arc tangent of two numbers<\/td><\/tr><tr><td>AVG<\/td><td>Returns the average value<\/td><\/tr><tr><td>CEIL<\/td><td>Returns smallest integer &gt;= number<\/td><\/tr><tr><td>CEILING<\/td><td>Returns smallest integer &gt;= number<\/td><\/tr><tr><td>COS<\/td><td>Returns cosine<\/td><\/tr><tr><td>COT<\/td><td>Returns cotangent<\/td><\/tr><tr><td>COUNT<\/td><td>Returns number of records in result set<\/td><\/tr><tr><td>DEGREES<\/td><td>Converts radians to degrees<\/td><\/tr><tr><td>DIV<\/td><td>Performs integer division<\/td><\/tr><tr><td>EXP<\/td><td>Returns e^x<\/td><\/tr><tr><td>FLOOR<\/td><td>Returns largest integer &lt;= number<\/td><\/tr><tr><td>GREATEST<\/td><td>Returns the greatest value from arguments<\/td><\/tr><tr><td>LEAST<\/td><td>Returns the smallest value from arguments<\/td><\/tr><tr><td>LN<\/td><td>Returns natural logarithm<\/td><\/tr><tr><td>LOG<\/td><td>Returns logarithm (natural or specified base)<\/td><\/tr><tr><td>LOG10<\/td><td>Returns logarithm base 10<\/td><\/tr><tr><td>LOG2<\/td><td>Returns logarithm base 2<\/td><\/tr><tr><td>MAX<\/td><td>Returns maximum value<\/td><\/tr><tr><td>MIN<\/td><td>Returns minimum value<\/td><\/tr><tr><td>MOD<\/td><td>Returns remainder of division<\/td><\/tr><tr><td>PI<\/td><td>Returns value of pi<\/td><\/tr><tr><td>POW<\/td><td>Returns power of number<\/td><\/tr><tr><td>POWER<\/td><td>Returns power of number<\/td><\/tr><tr><td>RADIANS<\/td><td>Converts degrees to radians<\/td><\/tr><tr><td>RAND<\/td><td>Returns a random number<\/td><\/tr><tr><td>ROUND<\/td><td>Rounds a number<\/td><\/tr><tr><td>SIGN<\/td><td>Returns the sign of a number<\/td><\/tr><tr><td>SIN<\/td><td>Returns sine<\/td><\/tr><tr><td>SQRT<\/td><td>Returns square root<\/td><\/tr><tr><td>SUM<\/td><td>Returns sum of values<\/td><\/tr><tr><td>TAN<\/td><td>Returns tangent<\/td><\/tr><tr><td>TRUNCATE<\/td><td>Truncates a number<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL Date Functions <\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Function<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>ADDDATE<\/td><td>Adds interval to date<\/td><\/tr><tr><td>ADDTIME<\/td><td>Adds interval to time\/datetime<\/td><\/tr><tr><td>CURDATE<\/td><td>Returns current date<\/td><\/tr><tr><td>CURRENT_DATE<\/td><td>Returns current date<\/td><\/tr><tr><td>CURRENT_TIME<\/td><td>Returns current time<\/td><\/tr><tr><td>CURRENT_TIMESTAMP<\/td><td>Returns current date and time<\/td><\/tr><tr><td>CURTIME<\/td><td>Returns current time<\/td><\/tr><tr><td>DATE<\/td><td>Extracts date part from datetime<\/td><\/tr><tr><td>DATEDIFF<\/td><td>Returns days between two dates<\/td><\/tr><tr><td>DATE_ADD<\/td><td>Adds interval to date<\/td><\/tr><tr><td>DATE_FORMAT<\/td><td>Formats a date<\/td><\/tr><tr><td>DATE_SUB<\/td><td>Subtracts interval from date<\/td><\/tr><tr><td>DAY<\/td><td>Returns day of month<\/td><\/tr><tr><td>DAYNAME<\/td><td>Returns name of weekday<\/td><\/tr><tr><td>DAYOFMONTH<\/td><td>Returns day of month<\/td><\/tr><tr><td>DAYOFWEEK<\/td><td>Returns weekday index<\/td><\/tr><tr><td>DAYOFYEAR<\/td><td>Returns day of year<\/td><\/tr><tr><td>EXTRACT<\/td><td>Extracts part of a date<\/td><\/tr><tr><td>FROM_DAYS<\/td><td>Returns a date from numeric value<\/td><\/tr><tr><td>HOUR<\/td><td>Returns hour part of time<\/td><\/tr><tr><td>LAST_DAY<\/td><td>Returns last day of month<\/td><\/tr><tr><td>LOCALTIME<\/td><td>Returns current date and time<\/td><\/tr><tr><td>LOCALTIMESTAMP<\/td><td>Returns current date and time<\/td><\/tr><tr><td>MAKEDATE<\/td><td>Returns a date from year and day number<\/td><\/tr><tr><td>MAKETIME<\/td><td>Returns a time from hour, minute, second<\/td><\/tr><tr><td>MICROSECOND<\/td><td>Returns microsecond part of time<\/td><\/tr><tr><td>MINUTE<\/td><td>Returns minute part of time<\/td><\/tr><tr><td>MONTH<\/td><td>Returns month part of date<\/td><\/tr><tr><td>MONTHNAME<\/td><td>Returns name of month<\/td><\/tr><tr><td>NOW<\/td><td>Returns current date and time<\/td><\/tr><tr><td>PERIOD_ADD<\/td><td>Adds months to a period<\/td><\/tr><tr><td>PERIOD_DIFF<\/td><td>Returns difference between two periods<\/td><\/tr><tr><td>QUARTER<\/td><td>Returns quarter of year<\/td><\/tr><tr><td>SECOND<\/td><td>Returns seconds part of time<\/td><\/tr><tr><td>SEC_TO_TIME<\/td><td>Converts seconds to time<\/td><\/tr><tr><td>STR_TO_DATE<\/td><td>Converts string to date<\/td><\/tr><tr><td>SUBDATE<\/td><td>Subtracts interval from date<\/td><\/tr><tr><td>SUBTIME<\/td><td>Subtracts interval from time<\/td><\/tr><tr><td>SYSDATE<\/td><td>Returns current date and time<\/td><\/tr><tr><td>TIME<\/td><td>Extracts time part from datetime<\/td><\/tr><tr><td>TIME_FORMAT<\/td><td>Formats time<\/td><\/tr><tr><td>TIME_TO_SEC<\/td><td>Converts time to seconds<\/td><\/tr><tr><td>TIMEDIFF<\/td><td>Returns difference between two times<\/td><\/tr><tr><td>TIMESTAMP<\/td><td>Returns datetime value<\/td><\/tr><tr><td>TO_DAYS<\/td><td>Returns number of days since &#8216;0000-00-00&#8217;<\/td><\/tr><tr><td>WEEK<\/td><td>Returns week number<\/td><\/tr><tr><td>WEEKDAY<\/td><td>Returns weekday number<\/td><\/tr><tr><td>WEEKOFYEAR<\/td><td>Returns week number of year<\/td><\/tr><tr><td>YEAR<\/td><td>Returns year part of date<\/td><\/tr><tr><td>YEARWEEK<\/td><td>Returns year and week number<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL Advanced Functions<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Function<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>BIN<\/td><td>Returns binary representation of a number<\/td><\/tr><tr><td>BINARY<\/td><td>Converts value to binary string<\/td><\/tr><tr><td>CASE<\/td><td>Performs conditional logic<\/td><\/tr><tr><td>CAST<\/td><td>Converts value to a specified data type<\/td><\/tr><tr><td>COALESCE<\/td><td>Returns first non-null value<\/td><\/tr><tr><td>CONNECTION_ID<\/td><td>Returns unique connection ID<\/td><\/tr><tr><td>CONV<\/td><td>Converts number between numeric bases<\/td><\/tr><tr><td>CONVERT<\/td><td>Converts value to specified data type or character set<\/td><\/tr><tr><td>CURRENT_USER<\/td><td>Returns current authenticated user<\/td><\/tr><tr><td>DATABASE<\/td><td>Returns current database name<\/td><\/tr><tr><td>IF<\/td><td>Returns value based on condition<\/td><\/tr><tr><td>IFNULL<\/td><td>Returns specified value if expression is NULL<\/td><\/tr><tr><td>ISNULL<\/td><td>Returns 1 or 0 based on whether expression is NULL<\/td><\/tr><tr><td>LAST_INSERT_ID<\/td><td>Returns last AUTO_INCREMENT id inserted<\/td><\/tr><tr><td>NULLIF<\/td><td>Returns NULL if two expressions are equal<\/td><\/tr><tr><td>SESSION_USER<\/td><td>Returns current MySQL session user<\/td><\/tr><tr><td>SYSTEM_USER<\/td><td>Returns current MySQL system user<\/td><\/tr><tr><td>USER<\/td><td>Returns current MySQL user<\/td><\/tr><tr><td>VERSION<\/td><td>Returns current MySQL server version<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<iframe src=\"https:\/\/www.techkubo.com\/sql-sim.html\" title=\"Try SQL on TechKubo\" width=\"100%\" height=\"500\"><\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>MySQL offers many built-in functions to help process and analyze your data. These functions cover string manipulation, numeric operations, date [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-359","post","type-post","status-publish","format-standard","hentry","category-sql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MySQL Functions - SQL Tutorial<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techkubo.com\/sql\/mysql-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL Functions - SQL Tutorial\" \/>\n<meta property=\"og:description\" content=\"MySQL offers many built-in functions to help process and analyze your data. These functions cover string manipulation, numeric operations, date [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techkubo.com\/sql\/mysql-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-27T02:29:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-09T07:58:13+00:00\" \/>\n<meta name=\"author\" content=\"Manong\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Manong\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/techkubo.com\/sql\/mysql-functions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/techkubo.com\/sql\/mysql-functions\/\"},\"author\":{\"name\":\"Manong\",\"@id\":\"https:\/\/techkubo.com\/sql\/#\/schema\/person\/b4fa2f01fa4ff2a4e98276ce47115965\"},\"headline\":\"MySQL Functions\",\"datePublished\":\"2025-05-27T02:29:24+00:00\",\"dateModified\":\"2025-06-09T07:58:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/techkubo.com\/sql\/mysql-functions\/\"},\"wordCount\":872,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/techkubo.com\/sql\/#organization\"},\"articleSection\":[\"SQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/techkubo.com\/sql\/mysql-functions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techkubo.com\/sql\/mysql-functions\/\",\"url\":\"https:\/\/techkubo.com\/sql\/mysql-functions\/\",\"name\":\"MySQL Functions - SQL Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/techkubo.com\/sql\/#website\"},\"datePublished\":\"2025-05-27T02:29:24+00:00\",\"dateModified\":\"2025-06-09T07:58:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/techkubo.com\/sql\/mysql-functions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techkubo.com\/sql\/mysql-functions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techkubo.com\/sql\/mysql-functions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techkubo.com\/sql\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL Functions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techkubo.com\/sql\/#website\",\"url\":\"https:\/\/techkubo.com\/sql\/\",\"name\":\"SQL Tutorial\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/techkubo.com\/sql\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/techkubo.com\/sql\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/techkubo.com\/sql\/#organization\",\"name\":\"SQL Tutorial\",\"url\":\"https:\/\/techkubo.com\/sql\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techkubo.com\/sql\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/techkubo.com\/sql\/wp-content\/uploads\/sites\/3\/2025\/01\/cropped-Techkubo-logo-1.png\",\"contentUrl\":\"https:\/\/techkubo.com\/sql\/wp-content\/uploads\/sites\/3\/2025\/01\/cropped-Techkubo-logo-1.png\",\"width\":1618,\"height\":1174,\"caption\":\"SQL Tutorial\"},\"image\":{\"@id\":\"https:\/\/techkubo.com\/sql\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/techkubo.com\/sql\/#\/schema\/person\/b4fa2f01fa4ff2a4e98276ce47115965\",\"name\":\"Manong\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techkubo.com\/sql\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/21a7455736c21887b8fefe0935012d65?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/21a7455736c21887b8fefe0935012d65?s=96&d=mm&r=g\",\"caption\":\"Manong\"},\"sameAs\":[\"https:\/\/techkubo.com\"],\"url\":\"https:\/\/techkubo.com\/sql\/author\/manong\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MySQL Functions - SQL Tutorial","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:\/\/techkubo.com\/sql\/mysql-functions\/","og_locale":"en_US","og_type":"article","og_title":"MySQL Functions - SQL Tutorial","og_description":"MySQL offers many built-in functions to help process and analyze your data. These functions cover string manipulation, numeric operations, date [&hellip;]","og_url":"https:\/\/techkubo.com\/sql\/mysql-functions\/","og_site_name":"SQL Tutorial","article_published_time":"2025-05-27T02:29:24+00:00","article_modified_time":"2025-06-09T07:58:13+00:00","author":"Manong","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Manong","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techkubo.com\/sql\/mysql-functions\/#article","isPartOf":{"@id":"https:\/\/techkubo.com\/sql\/mysql-functions\/"},"author":{"name":"Manong","@id":"https:\/\/techkubo.com\/sql\/#\/schema\/person\/b4fa2f01fa4ff2a4e98276ce47115965"},"headline":"MySQL Functions","datePublished":"2025-05-27T02:29:24+00:00","dateModified":"2025-06-09T07:58:13+00:00","mainEntityOfPage":{"@id":"https:\/\/techkubo.com\/sql\/mysql-functions\/"},"wordCount":872,"commentCount":0,"publisher":{"@id":"https:\/\/techkubo.com\/sql\/#organization"},"articleSection":["SQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techkubo.com\/sql\/mysql-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techkubo.com\/sql\/mysql-functions\/","url":"https:\/\/techkubo.com\/sql\/mysql-functions\/","name":"MySQL Functions - SQL Tutorial","isPartOf":{"@id":"https:\/\/techkubo.com\/sql\/#website"},"datePublished":"2025-05-27T02:29:24+00:00","dateModified":"2025-06-09T07:58:13+00:00","breadcrumb":{"@id":"https:\/\/techkubo.com\/sql\/mysql-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techkubo.com\/sql\/mysql-functions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/techkubo.com\/sql\/mysql-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techkubo.com\/sql\/"},{"@type":"ListItem","position":2,"name":"MySQL Functions"}]},{"@type":"WebSite","@id":"https:\/\/techkubo.com\/sql\/#website","url":"https:\/\/techkubo.com\/sql\/","name":"SQL Tutorial","description":"","publisher":{"@id":"https:\/\/techkubo.com\/sql\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techkubo.com\/sql\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techkubo.com\/sql\/#organization","name":"SQL Tutorial","url":"https:\/\/techkubo.com\/sql\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techkubo.com\/sql\/#\/schema\/logo\/image\/","url":"https:\/\/techkubo.com\/sql\/wp-content\/uploads\/sites\/3\/2025\/01\/cropped-Techkubo-logo-1.png","contentUrl":"https:\/\/techkubo.com\/sql\/wp-content\/uploads\/sites\/3\/2025\/01\/cropped-Techkubo-logo-1.png","width":1618,"height":1174,"caption":"SQL Tutorial"},"image":{"@id":"https:\/\/techkubo.com\/sql\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/techkubo.com\/sql\/#\/schema\/person\/b4fa2f01fa4ff2a4e98276ce47115965","name":"Manong","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techkubo.com\/sql\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/21a7455736c21887b8fefe0935012d65?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21a7455736c21887b8fefe0935012d65?s=96&d=mm&r=g","caption":"Manong"},"sameAs":["https:\/\/techkubo.com"],"url":"https:\/\/techkubo.com\/sql\/author\/manong\/"}]}},"_links":{"self":[{"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/posts\/359"}],"collection":[{"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":2,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":1637,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/posts\/359\/revisions\/1637"}],"wp:attachment":[{"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/categories?post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/tags?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}