MySQL NOT BETWEEN Operator

MySQL NOT BETWEEN operator; Through this tutorial, i am going to show you how to use not between logical operator of MySQL in the query. MySQL NOT BETWEEN Operator The MySQL Not Between Operator returns the rows or records whose values are not between given values or range If you want to fetch or filter data using … Read more

MySQL DAYOFYEAR() Function

MySQL DAYOFYEAR() function; In this tutorial, i am going to show you MySQL DAYOFYEAR function with the help of examples. MySQL DAYOFYEAR() Function MySQL DAYOFYEAR function is one of the MySQL Date Functions, which returns the day number of the year from the given date. Syntax of MySQL DAYOFYEAR() Function Basic Syntax of DAYOFYEAR() function is: DAYOFYEAR(date) The date … Read more

MySQL Subtract Days, Hour, Minute from Date or DateTime

MySQL DATE_SUB() function; In this tutorial, i am going to show you how to subtract days, week, month, year, hours, minutes from date or datetime using MySQL date_sub() function. MySQL DATE_SUB() Function DATE_SUB() function in MySQL is used to subtract a specified time or date interval to a specified date and then returns the date. Syntax … Read more

MySQL DATE() Function

MySQL DATE() function; In this tutorial, i am going to show you how to use MySQL date() functions with the help of examples. And as well as, i will take some example to fetch data from msyql database using mysql date() with queries. MySQL DATE() function MySQL DATE() takes the DATE part out from a … Read more

MySQL LOCALTIME() Function

MySQL Localtime() function; In this tutorial, i am going to show you MySQL localtime() function with the help of examples. MySQL  LOCALTIME() Function The LOCALTIME() function returns the current date and time. Note: The date and time is returned as “YYYY-MM-DD HH-MM-SS” (string) or as YYYYMMDDHHMMSS. uuuuuu (numeric). Syntax of MySQL  LOCALTIME() Function The syntax of … Read more

MySQL Subtract Day, Hours, Minutes from DateTime

MySQL SUBDATE(): function; In this tutorial, i am going to show you how to subtract days, week, month, year, minutes, hours using MySQL SUBDATE() function. MySQL SUBDATE() Function The MySQL SUBTIME() function is used to subtract a time interval from a time or datetime value. Syntax of MySQL SUBDATE() Function The basic syntax of MySQL SUBDATE() function … Read more

How to Install MySQL On Ubuntu 20.04

Install MySQL in Ubuntu 18.04; In this tutorial, i am going to show you how to install and secure MySQL on a Ubuntu 20.04 System.   MySQL server is a SQL complaint server, in other words it is a relational model database server. It is very popular because it is free. It was developed by Sun and moved … Read more

MySQL ADDDATE() Function

MySQL ADDDATE() function; Thorugh this tutorial, i am going to show you MySQL ADDDATE() function with the help of examples. MySQL ADDDATE() function ADDDATE() function in MySQL is used to add the specified intervals to the given date and time. It returns the date or DateTime after adding the interval. Parameter : This method accepts two … Read more