{"id":854,"date":"2026-10-13T02:48:41","date_gmt":"2026-10-13T02:48:41","guid":{"rendered":"https:\/\/sites.rutgers.edu\/joann-ordille\/?page_id=854"},"modified":"2026-10-13T04:30:54","modified_gmt":"2026-10-13T04:30:54","slug":"functions","status":"publish","type":"page","link":"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/","title":{"rendered":"Functions"},"content":{"rendered":"<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse;width: 80.8854%;height: 962px\" border=\"2\">\n<caption><strong>Numeric Functions (from Table 3.2.1 as augmented in class)<\/strong><\/caption>\n<thead>\n<tr>\n<th style=\"width: 25.3456%\" width=\"114\"><strong>Function<\/strong><\/th>\n<th style=\"width: 21.9662%\" width=\"99\"><strong>Description<\/strong><\/th>\n<th style=\"width: 52.6882%\" width=\"237\"><strong>Example<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th style=\"width: 25.3456%\" width=\"114\"><strong>ABS(<em>n<\/em>)<\/strong><\/th>\n<th style=\"width: 21.9662%\" width=\"99\">\n<p style=\"text-align: center\">Returns the absolute value of <em>n<\/em><\/p>\n<\/th>\n<th style=\"width: 52.6882%\" width=\"237\">\n<p style=\"text-align: center\">SELECT ABS(-5);<\/p>\n<p style=\"text-align: center\">returns 5<\/p>\n<\/th>\n<\/tr>\n<tr>\n<th style=\"width: 25.3456%\" width=\"114\"><strong>LOG(<em>n<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9662%\" width=\"99\">\n<p style=\"text-align: center\">Returns the natural logarithm of <em>n<\/em><\/p>\n<\/td>\n<td style=\"width: 52.6882%\" width=\"237\">\n<p style=\"text-align: center\">SELECT LOG(10);<\/p>\n<p style=\"text-align: center\">returns 2.302585092994046<\/p>\n<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.3456%\" width=\"114\"><strong>POW(<em>x<\/em>, <em>y<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9662%;text-align: center\" width=\"99\">Returns <em>x<\/em> to the power of <em>y<\/em><\/td>\n<td style=\"width: 52.6882%;text-align: center\" width=\"237\">SELECT POW(2, 3);<\/p>\n<p>returns 8<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.3456%\" width=\"114\"><strong>RAND()<\/strong><\/th>\n<td style=\"width: 21.9662%;text-align: center\" width=\"99\">Returns a random number between 0 (inclusive) and 1 (exclusive)<\/td>\n<td style=\"width: 52.6882%;text-align: center\" width=\"237\">SELECT RAND();<\/p>\n<p>returns 0.30263431491575604<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.3456%\" width=\"114\"><strong>ROUND(<em>n<\/em>, <em>d<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9662%;text-align: center\" width=\"99\">Returns <em>n<\/em> rounded to <em>d<\/em> decimal places<\/td>\n<td style=\"width: 52.6882%;text-align: center\" width=\"237\">SELECT ROUND(16.25, 1);<\/p>\n<p>returns 16.3<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.3456%\"><strong>SQRT(<em>n<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9662%;text-align: center\">Returns the square root of <em>n<\/em><\/td>\n<td style=\"width: 52.6882%;text-align: center\">SELECT SQRT(25);<\/p>\n<p>returns 5<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.3456%\"><strong>CEILING(<em>x<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9662%;text-align: center\">Returns the smallest integer not less than <em>x<\/em><\/td>\n<td style=\"width: 52.6882%;text-align: center\">SELECT CEILING(5.3);<\/p>\n<p>returns 6<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.3456%\"><strong>FLOOR(<em>x<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9662%;text-align: center\">Returns the largest integer not greater than <em>x<\/em><\/td>\n<td style=\"width: 52.6882%;text-align: center\">SELECT FLOOR(5.9);<\/p>\n<p>returns 5<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.3456%\"><strong>TRUNCATE(<em>n<\/em>, <em>d<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9662%;text-align: center\">Returns <em>n<\/em> truncated to <em>d<\/em> decimal places<\/td>\n<td style=\"width: 52.6882%;text-align: center\">SELECT TRUNCATE(5.967, 2);<\/p>\n<p>returns 5.96<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse;width: 81.2002%\" border=\"2\">\n<caption><strong>String Functions (from Table 3.2.2 as augmented in class)<\/strong><\/caption>\n<thead>\n<tr>\n<th style=\"width: 25.7669%\" width=\"114\"><strong>Function<\/strong><\/th>\n<th style=\"width: 21.9325%\" width=\"99\"><strong>Description<\/strong><\/th>\n<th style=\"width: 52.454%\" width=\"237\"><strong>Example<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th style=\"width: 25.7669%\" width=\"114\"><strong>CONCAT(<em>s1<\/em>, <em>s2<\/em>, &#8230;)<\/strong><\/th>\n<th style=\"width: 21.9325%\" width=\"99\">\n<p style=\"text-align: center\">Returns the string that results from concatenating the string arguments<\/p>\n<\/th>\n<th style=\"width: 52.454%\" width=\"237\">\n<p style=\"text-align: center\">SELECT CONCAT(&#8216;Dis&#8217;, &#8216;en&#8217;, &#8216;gage&#8217;);<\/p>\n<p style=\"text-align: center\">returns &#8216;Disengage&#8217;<\/p>\n<\/th>\n<\/tr>\n<tr>\n<th style=\"width: 25.7669%\" width=\"114\"><strong>LOWER(<em>s<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9325%;text-align: center\" width=\"99\">Returns the lowercase <em>s<\/em><\/td>\n<td style=\"width: 52.454%;text-align: center\" width=\"237\">SELECT LOWER(&#8216;MySQL&#8217;);<\/p>\n<p>returns &#8216;mysql&#8217;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.7669%\" width=\"114\"><strong>REPLACE(<em>s<\/em>, <em>from<\/em>, <em>to<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9325%;text-align: center\" width=\"99\">Returns the string <em>s<\/em> with all occurrences of <em>from<\/em> replaced with <em>to<\/em><\/td>\n<td style=\"width: 52.454%;text-align: center\" width=\"237\">SELECT(&#8216;This and that&#8217;, &#8216;and&#8217;, &#8216;or&#8217;);<\/p>\n<p>returns &#8216;This or that&#8217;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.7669%\"><strong>SUBSTRING(<em>s<\/em>, <em>pos<\/em>, l<em>en<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9325%;text-align: center\">Returns the substring from <em>s<\/em> that starts at position <em>pos<\/em> and has length <em>len<\/em><\/td>\n<td style=\"width: 52.454%;text-align: center\">SELECT SUBSTRING(&#8216;Boomerang&#8217;, 1, 4);<\/p>\n<p>returns &#8216;Boom&#8217;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.7669%\"><strong>TRIM(<em>s<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9325%;text-align: center\">Returns the string <em>s<\/em> without leading and trailing spaces<\/td>\n<td style=\"width: 52.454%;text-align: center\">SELECT TRIM(&#8216;\u00a0 \u00a0test\u00a0 \u00a0&#8216;);<\/p>\n<p>returns &#8216;test&#8217;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.7669%\"><strong>UPPER(<em>s<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9325%;text-align: center\">Returns the uppercase <em>s<\/em><\/td>\n<td style=\"width: 52.454%;text-align: center\">SELECT UPPER(&#8216;mysql&#8217;);<\/p>\n<p>returns &#8216;MYSQL&#8217;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.7669%\"><strong>CHAR_LENGTH(<em>s<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9325%;text-align: center\">Returns the length of the string <em>s.\u00a0 <\/em><\/p>\n<p>CHAR_LENGTH() correctly counts characters for more character encodings, including UTF-8, than LENGTH() and is preferred.<\/td>\n<td style=\"width: 52.454%;text-align: center\">SELECT CHAR_LENGTH(&#8216;BDM&#8217;);<\/p>\n<p>returns 3<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.7669%\"><strong>LOCATE(<em>sub<\/em>, <em>s<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9325%;text-align: center\">Return the position of the first occurence of the substring <em>sub<\/em> in the string <em>s<\/em><\/td>\n<td style=\"width: 52.454%;text-align: center\">SELECT LOCATE(&#8216;Data&#8217;, &#8216;Business Data Management&#8217;);<\/p>\n<p>returns 10<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 25.7669%\"><strong>FORMAT(<em>n,<\/em> <em>d<\/em>)<\/strong><\/th>\n<td style=\"width: 21.9325%;text-align: center\">Round the number <em>n<\/em> to have <em>d<\/em> decimal places and add commas to the integer part.<\/td>\n<td style=\"width: 52.454%;text-align: center\">SELECT FORMAT(5423.859, 2);<\/p>\n<p>returns 5,423.86<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse;width: 81.0953%;height: 296px\" border=\"2\">\n<caption><strong>Data and Time Functions (from Table 3.2.3 as augmented in class)<\/strong><\/caption>\n<thead>\n<tr>\n<th style=\"width: 34.127%\" width=\"114\"><strong>Function<\/strong><\/th>\n<th style=\"width: 39.9471%\" width=\"99\"><strong>Description<\/strong><\/th>\n<th style=\"width: 25.9259%\" width=\"237\"><strong>Example<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th style=\"width: 34.127%\" width=\"114\"><strong>CURRDATE()<\/strong><\/p>\n<p><strong>CURTIME()<\/strong><\/p>\n<p><strong>NOW()<\/strong><\/th>\n<th style=\"width: 39.9471%\" width=\"99\">\n<p style=\"text-align: center\">Returns the current date, time, or date and time in<br \/>\n<code style=\"white-space: pre\">'YYYY-MM-DD'<\/code>, <code style=\"white-space: pre\">'HH:MM:SS'<\/code>, or<br \/>\n<code style=\"white-space: pre\">'YYYY-MM-DD HH:MM:SS'<\/code> format<\/p>\n<\/th>\n<th style=\"width: 25.9259%\" width=\"237\">\n<div class=\"code no-box\">\n<div class=\"highlight\" style=\"text-align: center\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"nf\">CURDATE<\/span><span class=\"p\">();<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p style=\"text-align: center\">returns &#8216;2019-01-25&#8217;<\/p>\n<div class=\"code no-box\" style=\"text-align: center\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"nf\">CURTIME<\/span><span class=\"p\">();<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p style=\"text-align: center\">returns &#8217;21:05:44&#8242;<\/p>\n<div class=\"code no-box\" style=\"text-align: center\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"nf\">NOW<\/span><span class=\"p\">();<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p style=\"text-align: center\">returns &#8216;2019-01-25 21:05:44&#8217;<\/p>\n<\/th>\n<\/tr>\n<tr>\n<th style=\"width: 34.127%\" width=\"114\"><span class=\"term\" data-term=\"true\">DATE(<em>expr<\/em>)<\/span><br \/>\n<span class=\"term\" data-term=\"true\">TIME(<em>expr<\/em>)<\/span><\/th>\n<td style=\"width: 39.9471%;text-align: center\" width=\"99\">Extracts the date or time from a date or datetime<br \/>\nexpression <i>expr<\/i><\/td>\n<td style=\"width: 25.9259%;text-align: center\" width=\"237\">\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"kt\">DATE<\/span><span class=\"p\">(<\/span><span class=\"s1\">'2013-03-25 22:11:45'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns &#8216;2013-03-25&#8217;<\/p>\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"kt\">TIME<\/span><span class=\"p\">(<\/span><span class=\"s1\">'2013-03-25 22:11:45'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns &#8217;22:11:45&#8242;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 34.127%\" width=\"114\"><em><span class=\"term\" data-term=\"true\">DAY(d)<\/span><\/em><br \/>\n<span class=\"term\" data-term=\"true\">MONTH(<em>d<\/em>)<\/span><br \/>\n<span class=\"term\" data-term=\"true\">YEAR(<em>d<\/em>)<\/span><\/th>\n<td style=\"width: 39.9471%;text-align: center\" width=\"99\">Returns the day, month, or year from date <i>d<\/i><\/td>\n<td style=\"width: 25.9259%;text-align: center\" width=\"237\">\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"k\">DAY<\/span><span class=\"p\">(<\/span><span class=\"s1\">'2016-10-25'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns 25<\/p>\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"k\">MONTH<\/span><span class=\"p\">(<\/span><span class=\"s1\">'2016-10-25'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns 10<\/p>\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"kt\">YEAR<\/span><span class=\"p\">(<\/span><span class=\"s1\">'2016-10-25'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns 2016<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 34.127%\"><strong><span class=\"term\" data-term=\"true\">HOUR(<em>t<\/em>)<\/span><br \/>\n<span class=\"term\" data-term=\"true\">MINUTE(<em>t<\/em>)<\/span><br \/>\n<span class=\"term\" data-term=\"true\">SECOND(<em>t<\/em>)<\/span><\/strong><\/th>\n<td style=\"width: 39.9471%;text-align: center\">Returns the hour, minute, or second from time <i>t<\/i><\/td>\n<td style=\"width: 25.9259%;text-align: center\">\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"k\">HOUR<\/span><span class=\"p\">(<\/span><span class=\"s1\">'22:11:45'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns 22<\/p>\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"k\">MINUTE<\/span><span class=\"p\">(<\/span><span class=\"s1\">'22:11:45'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns 11<\/p>\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"k\">SECOND<\/span><span class=\"p\">(<\/span><span class=\"s1\">'22:11:45'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns 45<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 34.127%\"><strong><span class=\"term\" data-term=\"true\">DATEDIFF(<em>expr1<\/em>, <em>expr2<\/em>)<\/span><br \/>\n<span class=\"term\" data-term=\"true\">TIMEDIFF(<em>expr1<\/em>, <em>expr2<\/em>)<\/span><\/strong><\/th>\n<td style=\"width: 39.9471%;text-align: center\">Returns <i>expr1 &#8211; expr2<\/i> in number of days or time<br \/>\nvalues, given <i>expr1<\/i> and <i>expr2<\/i> are date, time, or datetime values<\/td>\n<td style=\"width: 25.9259%;text-align: center\">\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"nf\">DATEDIFF<\/span><span class=\"p\">(<\/span><span class=\"s1\">'2013-03-10'<\/span><span class=\"p\">,<\/span> <span class=\"s1\">'2013-03-04'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns 6<\/p>\n<div class=\"code no-box\">\n<div class=\"highlight\">\n<pre><span class=\"k\">SELECT<\/span> <span class=\"nf\">TIMEDIFF<\/span><span class=\"p\">(<\/span><span class=\"s1\">'10:00:00'<\/span><span class=\"p\">,<\/span> <span class=\"s1\">'09:45:30'<\/span><span class=\"p\">);<\/span>\r\n<\/pre>\n<\/div>\n<\/div>\n<p>returns 00:14:30<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 34.127%\">DATE_ADD(<em>d<\/em>, <em>interval_expression<\/em>)<\/p>\n<p><strong>\u00a0<\/strong><\/th>\n<td style=\"width: 39.9471%;text-align: center\">Returns the new date after adding the interval in the <em>interval_expression<\/em> to date <em>d<\/em>.\u00a0 There are a variety of options.<\/td>\n<td style=\"width: 25.9259%;text-align: center\">SELECT DATE_ADD(<\/p>\n<p>&#8216;2018-05-01\u2019,<\/p>\n<p>INTERVAL 1 DAY);<\/p>\n<p>returns\u00a0 &#8216;2018-05-02&#8217;<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 34.127%\">STR_TO_DATE(<em>s<\/em>, <em>format<\/em>)<\/p>\n<p><strong>\u00a0<\/strong><\/th>\n<td style=\"width: 39.9471%;text-align: center\">Returns a date type by interpreting the given <em>format<\/em> of the string <em>s.<\/em> %y is a 2 digit year and %Y is a 4 digit year.<\/td>\n<td style=\"width: 25.9259%;text-align: center\">SELECT STR_TO_DATE(&#8217;03\/20\/1999\u2019,<\/p>\n<p>&#8216;%m\/%d\/%Y&#8217;);<\/p>\n<p>Returns &#8216;1999-03-20&#8217;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Numeric Functions (from Table 3.2.1 as augmented in class) Function Description Example ABS(n) Returns the absolute value of n SELECT ABS(-5); returns 5 LOG(n) Returns the natural logarithm of &hellip; <a href=\"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/\" class=\"\">Read More<\/a><\/p>\n","protected":false},"author":1815,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-854","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Functions - Joann J. Ordille<\/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:\/\/sites.rutgers.edu\/joann-ordille\/functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Functions - Joann J. Ordille\" \/>\n<meta property=\"og:description\" content=\"&nbsp; Numeric Functions (from Table 3.2.1 as augmented in class) Function Description Example ABS(n) Returns the absolute value of n SELECT ABS(-5); returns 5 LOG(n) Returns the natural logarithm of &hellip; Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/\" \/>\n<meta property=\"og:site_name\" content=\"Joann J. Ordille\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-13T04:30:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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:\/\/sites.rutgers.edu\/joann-ordille\/functions\/\",\"url\":\"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/\",\"name\":\"Functions - Joann J. Ordille\",\"isPartOf\":{\"@id\":\"https:\/\/sites.rutgers.edu\/joann-ordille\/#website\"},\"datePublished\":\"2026-10-13T02:48:41+00:00\",\"dateModified\":\"2026-10-13T04:30:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sites.rutgers.edu\/joann-ordille\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Functions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sites.rutgers.edu\/joann-ordille\/#website\",\"url\":\"https:\/\/sites.rutgers.edu\/joann-ordille\/\",\"name\":\"Joann J. Ordille\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sites.rutgers.edu\/joann-ordille\/?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":"Functions - Joann J. Ordille","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:\/\/sites.rutgers.edu\/joann-ordille\/functions\/","og_locale":"en_US","og_type":"article","og_title":"Functions - Joann J. Ordille","og_description":"&nbsp; Numeric Functions (from Table 3.2.1 as augmented in class) Function Description Example ABS(n) Returns the absolute value of n SELECT ABS(-5); returns 5 LOG(n) Returns the natural logarithm of &hellip; Read More","og_url":"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/","og_site_name":"Joann J. Ordille","article_modified_time":"2026-10-13T04:30:54+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/","url":"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/","name":"Functions - Joann J. Ordille","isPartOf":{"@id":"https:\/\/sites.rutgers.edu\/joann-ordille\/#website"},"datePublished":"2026-10-13T02:48:41+00:00","dateModified":"2026-10-13T04:30:54+00:00","breadcrumb":{"@id":"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sites.rutgers.edu\/joann-ordille\/functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sites.rutgers.edu\/joann-ordille\/"},{"@type":"ListItem","position":2,"name":"Functions"}]},{"@type":"WebSite","@id":"https:\/\/sites.rutgers.edu\/joann-ordille\/#website","url":"https:\/\/sites.rutgers.edu\/joann-ordille\/","name":"Joann J. Ordille","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sites.rutgers.edu\/joann-ordille\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/sites.rutgers.edu\/joann-ordille\/wp-json\/wp\/v2\/pages\/854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.rutgers.edu\/joann-ordille\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.rutgers.edu\/joann-ordille\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.rutgers.edu\/joann-ordille\/wp-json\/wp\/v2\/users\/1815"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.rutgers.edu\/joann-ordille\/wp-json\/wp\/v2\/comments?post=854"}],"version-history":[{"count":3,"href":"https:\/\/sites.rutgers.edu\/joann-ordille\/wp-json\/wp\/v2\/pages\/854\/revisions"}],"predecessor-version":[{"id":858,"href":"https:\/\/sites.rutgers.edu\/joann-ordille\/wp-json\/wp\/v2\/pages\/854\/revisions\/858"}],"wp:attachment":[{"href":"https:\/\/sites.rutgers.edu\/joann-ordille\/wp-json\/wp\/v2\/media?parent=854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}