MySQL FUNCTIONS and OPERATORS

FUNCTIONS and OPERATORS

In the following section, we have given a list of FUNCTIONS and OPERATORS in MySQL as anyone can view the FUNCTIONS at a glance and jump immediately to his/her requirement.

MySQL Function & OperatorsDescription
Introduction of MySQL functions and operatorsTypes of MySQL functions and operators.
MySQL Comparison Functions and OperatorsSome Comparison Functions and Operators are –
Between andCOALESCE()NULL Safe equal to operator (<=>)Equal operator(=)Greater than or equal operator(>=)Greater than operator(>)GREATEST()IN()INTERVAL()IS NOT NULLIS NOTIS NULLISIS NULL()LEAST()LESS THAN OR EQUAL OPERATOR(<=)LESS THAN OPERATOR(<)LIKENOT BETWEEN ANDNOT EQUAL OPERATOR(<>,!=)NOT IN()NOT LIKESTRCMP()
MySQL Logical OperatorsMySQL logical AND operator compares two expressions and returns true if both of the expressions are true.
Some Logical Operators are –
And operatorNot operatorOr operatorXor operator
MySQL Control Flow FunctionsSome Control Flow Functions are –
Case operatorIF()IFNULL()NULLIF()
MySQL String FunctionsSome String Functions in MySQL are –
ASCIIBINBIT_LENGTHCHAR_LENGTHCHARCHARACTER_LENGTHCONCAT_WSCONCATELTEXPORT_SETFIELDFIND_IN_SETFORMATHEXINSERTINSTRLCASELEFTLENGTHLIKELOAD_FILELOCATELOWERLPADLTRIMMAKE_SETMIDNOT LIKENOT REGEXPOCTET_LENGTHORDPOSITIONQUOTEREGEXPREPEATREPLACEREVERSERIGHTRLIKENOT RLIKERPADRTRIMSOUNDEXSOUNDS_LIKESPACESTRCMPSUBSTRSUBSTRING_INDEXSUBSTRINGTRIMUCASEUNHEXUPPER
MySQL Mathematical FunctionsSome Mathematical Functions in MySQL are –
ABS()ACOS()ASIN()ATAN2()ATAN()CEIL()CEILING()CONV()COS()COT()CRC32()DEGREES()DIVDIVISIONEXP()FLOOR()LN()LOG()LOG2()LOG10()MOD()OCT()PI()POW()POWER()RADIANS()RAND()ROUND()SIGN()SIN()SQRT()TAN()TRUNCATE()FORMAT()
MySQL Date and Time FunctionsMySQL Date and Time Functions are used in various type of date and time operation.
MySQL Encryption and Compression FunctionsMySQL Encryption and Compression Functions are used to encrypt and decrypt a string.
Some Encryption and Compression Functions in MySQL are –
AES_DECRYPT()AES_ENCRYPT()COMPRESS()DECODE()DES_DECRYPT()DES_ENCRYPT()ENCODE()ENCRYPT()MD5()OLD_PASSWORD()PASSWORD()SHA1()UNCOMPRESS()UNCOMPRESSED_LENGTH()
MySQL Bit FunctionsSome Bit Functions in MySQL are –
BIT_COUNTBITWISE ANDINVERT BITSBITWISE ORBITWISE XORLeft shiftRight shift
MySQL Information FunctionsSome Information Functions in MySQL are –
BENCHMARK()CHARSET()COERCIBILITY()COLLATION()CONNECTION_ID()CURRENT_USER(), CURRENT_USERDATABASE()FOUND_ROWS()LAST_INSERT_ID()SCHEMA()SESSION_USER()SYSTEM_USER()USER()VERSION()

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *