{"id":1639,"date":"2023-05-23T04:23:21","date_gmt":"2023-05-23T04:23:21","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.com\/?p=1639"},"modified":"2023-05-23T04:23:21","modified_gmt":"2023-05-23T04:23:21","slug":"what-are-all-the-common-sql-function","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2023\/05\/23\/what-are-all-the-common-sql-function\/","title":{"rendered":"What are all the Common SQL Function?"},"content":{"rendered":"\n<p><strong>CONCAT(A, B)<\/strong> \u2013 Concatenates two string values to create a single string output. Often used to combine two or more fields into one single field.<\/p>\n\n\n\n<p><strong>FORMAT(X, D) <\/strong>\u2013 Formats the number X to D significant digits.<\/p>\n\n\n\n<p><strong>CURRDATE(), CURRTIME()<\/strong> \u2013 Returns the current date or time.<\/p>\n\n\n\n<p><strong>NOW()<\/strong> \u2013 Returns the current date and time as one value.<\/p>\n\n\n\n<p><strong>MONTH(), DAY(), YEAR(), WEEK(), WEEKDAY()<\/strong> \u2013 Extracts the given data from a date value.<\/p>\n\n\n\n<p><strong>HOUR(), MINUTE(), SECOND()<\/strong> \u2013 Extracts the given data from a time value.<\/p>\n\n\n\n<p><strong>DATEDIFF(A, B)<\/strong> \u2013 Determines the difference between two dates and it is commonly used to calculate age<\/p>\n\n\n\n<p><strong>SUBTIMES(A, B)<\/strong> \u2013 Determines the difference between two times.<\/p>\n\n\n\n<p><strong>FROMDAYS(INT)<\/strong> \u2013 Converts an integer number of days into a date value.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CONCAT(A, B) \u2013 Concatenates two string values to create a single string output. Often used&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1639"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=1639"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1639\/revisions"}],"predecessor-version":[{"id":1640,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1639\/revisions\/1640"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=1639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=1639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=1639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}