webhacking/sql, sql injection

mysql 레퍼런스 12.1 Function and Operator Reference

qkqhxla1 2015. 7. 9. 15:41

mysql 레퍼런스 분석 12 Functions and Operators

https://dev.mysql.com/doc/refman/5.7/en/index.html 의.

12.1 Function and Operator Reference 부분 연구.

    

12.1 Function and Operator Reference

https://dev.mysql.com/doc/refman/5.7/en/func-op-summary-ref.html

함수가 엄청나게 많은데 나중에 쓸수있을것같은건 따로 표시.


12.2 Type Conversion in Expression Evaluation

NameDescription
ABS()Return the absolute value
ACOS()Return the arc cosine
ADDDATE() //날짜 관련 함수. 여기 참조.Add time values (intervals) to a date value
ADDTIME() //ADDDATE()와 비슷. 둘중 하나만 알아두면 될듯 여기

Add time
AES_DECRYPT()Decrypt using AES
AES_ENCRYPT()Encrypt using AES
AND&&Logical AND
ANY_VALUE()//5.1에서 실험해봤는데 이런 함수가 없다고 함. 최근 추가된거인듯. 일단 별로 쓸모는 없는듯Suppress ONLY_FULL_GROUP_BY value rejection
Area() (deprecated 5.7.6)Return Polygon or MultiPolygon area
AsBinary()AsWKB() (deprecated 5.7.6)Convert from internal geometry format to WKB
ASCII()Return numeric value of left-most character
ASIN()//숫자가 막혀있을때 숫자 뽑아내기용으로 사용하기 좋음.Return the arc sine
=Assign a value (as part of a SET statement, or as part of theSET clause in an UPDATE statement)
:=Assign a value
AsText()AsWKT() (deprecated 5.7.6)Convert from internal geometry format to WKT

ATAN2()ATAN()//asin()과 마찬가지로 숫자 뽑아내기용으로 좋음.

Return the arc tangent of the two arguments
ATAN()Return the arc tangent
AVG()Return the average value of the argument
BENCHMARK()Repeatedly execute an expression
BETWEEN ... AND ...Check whether a value is within a range of values
BIN()Return a string containing binary representation of a number
BINARYCast a string to a binary string
BIT_AND()Return bitwise and
BIT_COUNT()//이진수로 변환 후 1의 갯수 리턴. 나중에 쓸모는있을듯Return the number of bits that are set
BIT_LENGTH()Return length of argument in bits
BIT_OR()Return bitwise or
BIT_XOR()Return bitwise xor
&Bitwise AND
~Invert bits
|Bitwise OR
^Bitwise XOR
Buffer() (deprecated 5.7.6)Return geometry of points within given distance from geometry
CASECase operator
CAST()Cast a value as a certain type
CEIL()Return the smallest integer value not less than the argument
CEILING()Return the smallest integer value not less than the argument
Centroid() (deprecated 5.7.6)Return centroid as a point
CHAR_LENGTH()Return number of characters in argument
CHAR()Return the character for each integer passed
CHARACTER_LENGTH()//length의 종류가 많은데 그냥 length랑 별 다를게 없음.Synonym for CHAR_LENGTH()
CHARSET()//sqli에서 쓸모는 없을것같은데 그냥 알아두기.Return the character set of the argument
COALESCE()//if문 대신에 사용 가능Return the first non-NULL argument
COERCIBILITY()Return the collation coercibility value of the string argument
COLLATION()Return the collation of the string argument
COMPRESS()

//문자열을 압축한다고 함. uncompress()로 풀수있고, 현재 sqli에서는 안쓰이는데 나중에 이상한 특수문자 가져올 일이 왠지 생길지도 모름. 참조

Return result as a binary string
CONCAT_WS()Return concatenate with separator
CONCAT()Return concatenated string
CONNECTION_ID()Return the connection ID (thread ID) for the connection
Contains() (deprecated 5.7.6)Whether MBR of one geometry contains MBR of another
CONV()Convert numbers between different number bases
CONVERT_TZ()


Convert from one timezone to another
CONVERT()//cast랑 비슷하다고함.Cast a value as a certain type
ConvexHull() (deprecated 5.7.6)Return convex hull of geometry
COS()Return the cosine
COT()Return the cotangent
COUNT(DISTINCT)Return the count of a number of different values
COUNT()Return a count of the number of rows returned
CRC32()//숫자 뽑기에 좋을듯.Compute a cyclic redundancy check value
Crosses() (deprecated 5.7.6)Whether one geometry crosses another
CURDATE()Return the current date
CURRENT_DATE()CURRENT_DATESynonyms for CURDATE()

CURRENT_TIME()CURRENT_TIME//이전 글에서 썼듯이 시간도 sqli에 이용될 수 있었다.

Synonyms for CURTIME()
CURRENT_TIMESTAMP(),CURRENT_TIMESTAMPSynonyms for NOW()
CURRENT_USER()CURRENT_USERThe authenticated user name and host name
CURTIME()Return the current time
DATABASE()Return the default (current) database name
DATE_ADD()//왠지 나중에 쓸모있을것 같다.Add time values (intervals) to a date value
DATE_FORMAT()//왠지 나중에 쓸모있을것 같다.2Format date as specified
DATE_SUB()Subtract a time value (interval) from a date
DATE()//왠지 나중에 쓸모있을것 같다.Extract the date part of a date or datetime expression
DATEDIFF()Subtract two dates
DAY()//왠지 나중에 쓸모있을것 같다. ex select day('10-15-19');Synonym for DAYOFMONTH()
DAYNAME()//영어 문자열 뽑아올때 좋을듯. monday, tuesday~~ etcReturn the name of the weekday
DAYOFMONTH()Return the day of the month (0-31)
DAYOFWEEK()Return the weekday index of the argument
DAYOFYEAR()Return the day of the year (1-366)
DECODE()Decodes a string encrypted using ENCODE()
DEFAULT()Return the default value for a table column
DEGREES()//숫자 뽑아오기좋을듯Convert radians to degrees
DES_DECRYPT() (deprecated 5.7.6)Decrypt a string
DES_ENCRYPT() (deprecated 5.7.6)Encrypt a string
Dimension() (deprecated 5.7.6)Dimension of geometry
Disjoint() (deprecated 5.7.6)Whether MBRs of two geometries are disjoint
Distance() (deprecated 5.7.6)The distance of one geometry from another
DIV// 나눗셈인데 /말고도 이렇게도 쓸수있다. select 5 div 2;Integer division
/Division operator
ELT()

//오 좋은거 하나 찾아냄. if문이 막혔을때 쓸수 있을것 같다.

SELECT ELT(1=1, 'ej'); SELECT ELT(1=0, 'ej'); 실행해보자.

Return string at index number
ENCODE()

//select encode('asdfsd','utf8'); 처럼 쓴다. 나중에 어떠한 특수문자나 숫자 뽑아내기 좋을것같다.

Encode a string
ENCRYPT() (deprecated 5.7.6)Encrypt a string
EndPoint() (deprecated 5.7.6)End Point of LineString
Envelope() (deprecated 5.7.6)Return MBR of geometry
<=>//데이터형 비교하는것 같다.NULL-safe equal to operator
=Equal operator
Equals() (deprecated 5.7.6)Whether MBRs of two geometries are equal
EXP()//숫자 뽑아내기 좋을듯.Raise to the power of
EXPORT_SET()

//함수가 뭔가 이해하기 힘든데 쓸모는 있을거같다.

Return a string such that for every bit set in the value bits, you get an on string and for every unset bit, you get an off string
ExteriorRing() (deprecated 5.7.6)Return exterior ring of Polygon
EXTRACT()Extract part of a date
ExtractValue()Extracts a value from an XML string using XPath notation
FIELD()

//첫번째 인자의 인덱스를 2~n사이의 인자중에서 찾아서 반환한다. if문대신 쓸수 있을거같다. SELECT FIELD(1=1, 1, 0); SELECT FIELD(1=0, 1, 0);

Return the index (position) of the first argument in the subsequent arguments
FIND_IN_SET()

//바로 위의 FIELD함수와 비슷한데 조금 다르다. if문대신 쓸수있을듯. _가 자주 막혀서 쓸수 있을지는 모르겠다. SELECT FIND_IN_SET(1=1,1,0);

Return the index position of the first argument within the second argument
FLOOR()Return the largest integer value not greater than the argument
FORMAT()//출력 format지정. 쓸수있을거 같다.Return a number formatted to specified number of decimal places
FOUND_ROWS()For a SELECT with a LIMIT clause, the number of rows that would be returned were there no LIMIT clause
FROM_BASE64()//높은 버전의 mysql에서 추가된듯. 5.1에서는 없다고 뜸.Decode to a base-64 string and return result
FROM_DAYS()Convert a day number to a date
FROM_UNIXTIME()Format UNIX timestamp as a date
GeomCollFromText(),GeometryCollectionFromText()(deprecated 5.7.6)Return geometry collection from WKT
GeomCollFromWKB(),GeometryCollectionFromWKB()(deprecated 5.7.6)Return geometry collection from WKB
GeometryCollection()Construct geometry collection from geometries
GeometryN() (deprecated 5.7.6)Return N-th geometry from geometry collection
GeometryType() (deprecated 5.7.6)Return name of geometry type
GeomFromText()GeometryFromText()(deprecated 5.7.6)Return geometry from WKT
GeomFromWKB() (deprecated 5.7.6)Return geometry from WKB
GET_FORMAT()Return a date format string
GET_LOCK()//음. 무슨 뮤텍스같은데 쓸모없는듯.Get a named lock
GLength() (deprecated 5.7.6)Return length of LineString
>=Greater than or equal operator
>Greater than operator
GREATEST()Return the largest argument
GROUP_CONCAT()Return a concatenated string
GTID_SUBSET()//5.1에서 존재 xReturn true if all GTIDs in subset are also in set; otherwise false.
GTID_SUBTRACT()Return all GTIDs in set that are not in subset.
HEX()Return a hexadecimal representation of a decimal or string value
HOUR()Extract the hour
IF()If/else construct
IFNULL()Null if/else construct
IN()Check whether a value is within a set of values
INET_ATON()//나중에 쓸모있을듯Return the numeric value of an IP address
INET_NTOA()Return the IP address from a numeric value
INET6_ATON()Return the numeric value of an IPv6 address
INET6_NTOA()Return the IPv6 address from a numeric value
INSERT()Insert a substring at the specified position up to the specified number of characters
INSTR()Return the index of the first occurrence of substring
InteriorRingN() (deprecated 5.7.6)Return N-th interior ring of Polygon
Intersects() (deprecated 5.7.6)Whether MBRs of two geometries intersect
INTERVAL()Return the index of the argument that is less than the first argument
IS_FREE_LOCK()Checks whether the named lock is free
IS_IPV4_COMPAT()Return true if argument is an IPv4-compatible address
IS_IPV4_MAPPED()Return true if argument is an IPv4-mapped address
IS_IPV4()//5.1에서 xReturn true if argument is an IPv4 address
IS_IPV6()Return true if argument is an IPv6 address
IS NOT NULLNOT NULL value test
IS NOTTest a value against a boolean
IS NULLNULL value test
IS_USED_LOCK()Checks whether the named lock is in use. Return connection identifier if true.
ISTest a value against a boolean
IsClosed() (deprecated 5.7.6)Whether a geometry is closed and simple
IsEmpty() (deprecated 5.7.6)Placeholder function
ISNULL()Test whether the argument is NULL
IsSimple() (deprecated 5.7.6)Whether a geometry is simple
LAST_DAYReturn the last day of the month for the argument
LAST_INSERT_ID()Value of the AUTOINCREMENT column for the last INSERT
LCASE()//대문자->소문자로 바꿔줌. lower()와 동일한 기능.Synonym for LOWER()
LEAST()//if문대신 사용가능 select least(1=1,10);Return the smallest argument
<<//<<기능. 쓸모는있을듯Left shift
LEFT()Return the leftmost number of characters as specified
LENGTH()Return the length of a string in bytes
<=Less than or equal operator
<Less than operator
LIKESimple pattern matching
LineFromText() (deprecated 5.7.6)Construct LineString from WKT
LineFromWKB()LineStringFromWKB()(deprecated 5.7.6)Construct LineString from WKB
LineString()Construct LineString from Point values
LN()Return the natural logarithm of the argument
LOAD_FILE()Load the named file
LOCALTIME()LOCALTIMESynonym for NOW()
LOCALTIMESTAMPLOCALTIMESTAMP()Synonym for NOW()
LOCATE()Return the position of the first occurrence of substring
LOG10()Return the base-10 logarithm of the argument
LOG2()Return the base-2 logarithm of the argument
LOG()Return the natural logarithm of the first argument
LOWER()Return the argument in lowercase
LPAD()//substr대신 쓸수있음.Return the string argument, left-padded with the specified string
LTRIM()Remove leading spaces
MAKE_SET()//if문대신 쓸수있을듯. select make_set(1=1,'a,b,c,d','2');Return a set of comma-separated strings that have the corresponding bit in bits set
MAKEDATE()Create a date from the year and day of year
MAKETIME()Create time from hour, minute, second
MASTER_POS_WAIT()Block until the slave has read and applied all updates up to the specified position
MATCHPerform full-text search
MAX()Return the maximum value
MBRContains()Whether MBR of one geometry contains MBR of another
MBRCoveredBy()Whether one MBR is covered by another
MBRCovers()Whether one MBR covers another
MBRDisjoint()Whether MBRs of two geometries are disjoint
MBREqual() (deprecated 5.7.6)Whether MBRs of two geometries are equal
MBREquals()Whether MBRs of two geometries are equal
MBRIntersects()Whether MBRs of two geometries intersect
MBROverlaps()Whether MBRs of two geometries overlap
MBRTouches()Whether MBRs of two geometries touch
MBRWithin()Whether MBR of one geometry is within MBR of another
MD5()Calculate MD5 checksum
MICROSECOND()Return the microseconds from argument
MID()Return a substring starting from the specified position
MIN()Return the minimum value
-Minus operator
MINUTE()Return the minute from the argument
MLineFromText(),MultiLineStringFromText() (deprecated 5.7.6)Construct MultiLineString from WKT
MLineFromWKB(),MultiLineStringFromWKB() (deprecated 5.7.6)Construct MultiLineString from WKB
MOD()Return the remainder
%MODModulo operator
MONTH()Return the month from the date passed
MONTHNAME()Return the name of the month
MPointFromText(),MultiPointFromText() (deprecated 5.7.6)Construct MultiPoint from WKT
MPointFromWKB()MultiPointFromWKB()(deprecated 5.7.6)Construct MultiPoint from WKB
MPolyFromText(),MultiPolygonFromText() (deprecated 5.7.6)Construct MultiPolygon from WKT
MPolyFromWKB(),MultiPolygonFromWKB() (deprecated 5.7.6)Construct MultiPolygon from WKB
MultiLineString()Contruct MultiLineString from LineString values
MultiPoint()Construct MultiPoint from Point values
MultiPolygon()Construct MultiPolygon from Polygon values
NAME_CONST()Causes the column to have the given name
NOT BETWEEN ... AND ...Check whether a value is not within a range of values
!=<>Not equal operator
NOT IN()Check whether a value is not within a set of values
NOT LIKENegation of simple pattern matching
NOT REGEXPNegation of REGEXP
NOT!Negates value
NOW()Return the current date and time
NULLIF()Return NULL if expr1 = expr2
NumGeometries() (deprecated 5.7.6)Return number of geometries in geometry collection
NumInteriorRings() (deprecated 5.7.6)Return number of interior rings in Polygon
NumPoints() (deprecated 5.7.6)Return number of points in LineString
OCT()Return a string containing octal representation of a number
OCTET_LENGTH()Synonym for LENGTH()
OLD_PASSWORD()Return the value of the pre-4.1 implementation of PASSWORD
||ORLogical OR
ORD()Return character code for leftmost character of the argument
Overlaps() (deprecated 5.7.6)Whether MBRs of two geometries overlap
PASSWORD() (deprecated 5.7.6)Calculate and return a password string
PERIOD_ADD()Add a period to a year-month
PERIOD_DIFF()Return the number of months between periods
PI()Return the value of pi
+Addition operator
Point()Construct Point from coordinates
PointFromText() (deprecated 5.7.6)Construct Point from WKT
PointFromWKB() (deprecated 5.7.6)Construct Point from WKB
PointN() (deprecated 5.7.6)Return N-th point from LineString
PolyFromText()PolygonFromText()(deprecated 5.7.6)Construct Polygon from WKT
PolyFromWKB()PolygonFromWKB()(deprecated 5.7.6)Construct Polygon from WKB
Polygon()Construct Polygon from LineString arguments
POSITION()//위치 뽑아내는데 쓸수 있음.Synonym for LOCATE()
POW()Return the argument raised to the specified power
POWER()Return the argument raised to the specified power
PROCEDURE ANALYSE()Analyze the results of a query
QUARTER()Return the quarter from a date argument
QUOTE()

//왠지 쓸모있을것같아보이면서도 별로 쓸모없어보임.

Escape the argument for use in an SQL statement
RADIANS()Return argument converted to radians
RAND()//랜덤한 값을 뽑아올수 있음. 의외로 중요.Return a random floating-point value
RANDOM_BYTES()Return a random byte vector
REGEXPPattern matching using regular expressions
RELEASE_ALL_LOCKS()Releases all current named locks
RELEASE_LOCK()Releases the named lock
REPEAT()

//글자제한있는 환경에서 쓰일수도 있을듯.

Repeat a string the specified number of times
REPLACE()//나중에 쓰일듯Replace occurrences of a specified string
REVERSE()Reverse the characters in a string
>>Right shift
RIGHT()Return the specified rightmost number of characters
RLIKESynonym for REGEXP
ROUND()Round the argument
ROW_COUNT()The number of rows updated
RPAD()Append string the specified number of times
RTRIM()Remove trailing spaces
SCHEMA()

//database()와 동일

Synonym for DATABASE()
SEC_TO_TIME()

//쓸모있을거같다.

Converts seconds to 'HH:MM:SS' format
SECOND()Return the second (0-59)
SESSION_USER()Synonym for USER()
SHA1()SHA()Calculate an SHA-1 160-bit checksum
SHA2()Calculate an SHA-2 checksum
SIGN()Return the sign of the argument
SIN()Return the sine of the argument
SLEEP()Sleep for a number of seconds
SOUNDEX()//오묘하게 랜덤한문자열을 뽑아내주는거같음. 쓸모 있을지도?Return a soundex string
SOUNDS LIKECompare sounds
SPACE()

//공백을 넣어줌. select space(99);

Return a string of the specified number of spaces
SQRT()Return the square root of the argument
SRID() (deprecated 5.7.6)Return spatial reference system ID for geometry
ST_Area()Return Polygon or MultiPolygon area
ST_AsBinary()ST_AsWKB()Convert from internal geometry format to WKB
ST_AsGeoJSON()Generate GeoJSON object from geometry
ST_AsText()ST_AsWKT()Convert from internal geometry format to WKT
ST_Buffer_Strategy()Produce strategy option for ST_Buffer()
ST_Buffer()Return geometry of points within given distance from geometry
ST_Centroid()Return centroid as a point
ST_Contains()Whether one geometry contains another
ST_ConvexHull()Return convex hull of geometry
ST_Crosses()Whether one geometry crosses another
ST_Difference()Return point set difference of two geometries
ST_Dimension()Dimension of geometry
ST_Disjoint()Whether one geometry is disjoint from another
ST_Distance_Sphere()Minimum distance on earth between two geometries
ST_Distance()The distance of one geometry from another
ST_EndPoint()End Point of LineString
ST_Envelope()Return MBR of geometry
ST_Equals()Whether one geometry is equal to another
ST_ExteriorRing()Return exterior ring of Polygon
ST_GeoHash()Produce a geohash value
ST_GeomCollFromText(),ST_Geometry
CollectionFromText()
,ST_GeomCollFromTxt()
Return geometry collection from WKT
ST_GeomCollFromWKB(),ST_GeometryCollectionFromWKB()Return geometry collection from WKB
ST_GeometryN()Return N-th geometry from geometry collection
ST_GeometryType()Return name of geometry type
ST_GeomFromGeoJSON()Generate geometry from GeoJSON object
ST_GeomFromText(),ST_GeometryFromText()Return geometry from WKT
ST_GeomFromWKB()Return geometry from WKB
ST_InteriorRingN()Return N-th interior ring of Polygon
ST_Intersection()Return point set intersection of two geometries
ST_Intersects()Whether one geometry intersects another
ST_IsClosed()Whether a geometry is closed and simple
ST_IsEmpty()Placeholder function
ST_IsSimple()Whether a geometry is simple
ST_IsValid()Whether a geometry is valid
ST_LatFromGeoHash()Return latitude from geohash value
ST_Length()Return length of LineString
ST_LineFromText()Construct LineString from WKT
ST_LineFromWKB(),ST_LineStringFromWKB()Construct LineString from WKB
ST_LongFromGeoHash()Return longitude from geohash value
ST_MakeEnvelope()Rectangle around two points
ST_MLineFromText(),ST_MultiLineStringFromText()Construct MultiLineString from WKT
ST_MLineFromWKB(),ST_MultiLineStringFromWKB()Construct MultiLineString from WKB
ST_MPointFromText(),ST_MultiPointFromText()Construct MultiPoint from WKT
ST_MPointFromWKB(),ST_MultiPointFromWKB()Construct MultiPoint from WKB
ST_MPolyFromText(),ST_MultiPolygonFromText()Construct MultiPolygon from WKT
ST_MPolyFromWKB(),ST_MultiPolygonFromWKB()Construct MultiPolygon from WKB
ST_NumGeometries()Return number of geometries in geometry collection
ST_NumInteriorRings()Return number of interior rings in Polygon
ST_NumPoints()Return number of points in LineString
ST_Overlaps()Whether one geometry overlaps another
ST_PointFromGeoHash()Convert geohash value to POINT value
ST_PointFromText()Construct Point from WKT
ST_PointFromWKB()Construct Point from WKB
ST_PointN()Return N-th point from LineString
ST_PolyFromText(),ST_PolygonFromText()Construct Polygon from WKT
ST_PolyFromWKB(),ST_PolygonFromWKB()Construct Polygon from WKB
ST_Simplify()Return simplified geometry
ST_SRID()Return spatial reference system ID for geometry
ST_StartPoint()Start Point of LineString
ST_SymDifference()Return point set symmetric difference of two geometries
ST_Touches()Whether one geometry touches another
ST_Union()Return point set union of two geometries
ST_Validate()Return validated geometry
ST_Within()Whether one geometry is within another
ST_X()Return X coordinate of Point
ST_Y()Return Y coordinate of Point
StartPoint() (deprecated 5.7.6)Start Point of LineString
STD()Return the population standard deviation
STDDEV_POP()Return the population standard deviation
STDDEV_SAMP()Return the sample standard deviation
STDDEV()Return the population standard deviation
STR_TO_DATE()Convert a string to a date
STRCMP()

//거의 안쓰일거같은데 그래도 쓸모있을듯

Compare two strings
SUBDATE()Synonym for DATE_SUB() when invoked with three arguments
SUBSTR()Return the substring as specified
SUBSTRING_INDEX()Return a substring from a string before the specified number of occurrences of the delimiter
SUBSTRING()Return the substring as specified
SUBTIME()Subtract times
SUM()Return the sum
SYSDATE()

//시스템 시간 함수. 

Return the time at which the function executes
SYSTEM_USER()Synonym for USER()
TAN()Return the tangent of the argument
TIME_FORMAT()Format as time
TIME_TO_SEC()Return the argument converted to seconds
TIME()Extract the time portion of the expression passed
TIMEDIFF()Subtract time
*Multiplication operator
TIMESTAMP()With a single argument, this function returns the date or datetime expression; with two arguments, the sum of the arguments
TIMESTAMPADD()Add an interval to a datetime expression
TIMESTAMPDIFF()Subtract an interval from a datetime expression
TO_BASE64()Return the argument converted to a base-64 string
TO_DAYS()Return the date argument converted to days
TO_SECONDS()Return the date or datetime argument converted to seconds since Year 0
Touches() (deprecated 5.7.6)Whether one geometry touches another
TRIM()Remove leading and trailing spaces
TRUNCATE()Truncate to specified number of decimal places
UCASE()Synonym for UPPER()
-Change the sign of the argument
UNCOMPRESS()Uncompress a string compressed
UNCOMPRESSED_LENGTH()Return the length of a string before compression
UNHEX()Return a string containing hex representation of a number
UNIX_TIMESTAMP()Return a UNIX timestamp
UpdateXML()Return replaced XML fragment
UPPER()Convert to uppercase
USER()The user name and host name provided by the client
UTC_DATE()Return the current UTC date
UTC_TIME()Return the current UTC time
UTC_TIMESTAMP()Return the current UTC date and time
UUID_SHORT()Return an integer-valued universal identifier
UUID()Return a Universal Unique Identifier (UUID)
VALIDATE_PASSWORD_STRENGTH()Determine strength of password
VALUES()Defines the values to be used during an INSERT
VAR_POP()Return the population standard variance
VAR_SAMP()Return the sample variance
VARIANCE()Return the population standard variance
VERSION()Return a string that indicates the MySQL server version
WAIT_FOR_EXECUTED_GTID_SET()Wait until the given GTIDs have executed on slave.
WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS()Wait until the given GTIDs have executed on slave.
WEEK()Return the week number
WEEKDAY()Return the weekday index
WEEKOFYEAR()Return the calendar week of the date (0-53)
WEIGHT_STRING()Return the weight string for a string
Within() (deprecated 5.7.6)Whether MBR of one geometry is within MBR of another
X() (deprecated 5.7.6)Return X coordinate of Point
XORLogical XOR
Y() (deprecated 5.7.6)Return Y coordinate of Point
YEAR()Return the year
YEARWEEK()Return the year and week