|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 1
|
1 |
JOIN |
27 |
MySQL supports the following JOIN syntaxes for the... |
SELECT left_tbl.*
FROM left_tbl LEFT JOIN right_...
|
https://mariadb.com/kb/en/join-syntax/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 230
|
230 |
CONVERT |
37 |
Syntax:
CONVERT(expr,type), CONVERT(expr USING tra... |
SELECT enum_col FROM tbl_name ORDER BY CAST(enum_c...
|
https://mariadb.com/kb/en/convert/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 292
|
292 |
ASBINARY |
32 |
AsBinary(g), AsWKB(g)
Converts a value in interna... |
SELECT AsBinary(g) FROM geom;
|
https://mariadb.com/kb/en/asbinary/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 269
|
269 |
PURGE BINARY LOGS |
8 |
Syntax:
PURGE { BINARY | MASTER } LOGS
{ TO 'l... |
PURGE BINARY LOGS TO 'mysql-bin.010';
PURGE BINARY...
|
https://mariadb.com/kb/en/sql-commands-purge-logs/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 112
|
112 |
DEFAULT |
14 |
Syntax:
DEFAULT(col_name)
Returns the default val... |
MariaDB> UPDATE t SET i = DEFAULT(i)+1 WHERE id < ...
|
https://mariadb.com/kb/en/default/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 359
|
359 |
LOAD_FILE |
37 |
Syntax:
LOAD_FILE(file_name)
Reads the file and r... |
MariaDB> UPDATE t
SET blob_col=LOAD_FI...
|
https://mariadb.com/kb/en/load_file/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 328
|
328 |
SHOW PROCEDURE STATUS |
26 |
Syntax:
SHOW PROCEDURE STATUS
[LIKE 'pattern' ... |
MariaDB> SHOW PROCEDURE STATUS LIKE 'sp1'\G
******...
|
https://mariadb.com/kb/en/show-procedure-status/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 278
|
278 |
SHOW CREATE TABLE |
26 |
Syntax:
SHOW CREATE TABLE tbl_name
Shows the CREA... |
MariaDB> SHOW CREATE TABLE t\G
*******************...
|
https://mariadb.com/kb/en/show-create-table/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 17
|
17 |
SHOW CREATE PROCEDURE |
26 |
Syntax:
SHOW CREATE PROCEDURE proc_name
This stat... |
MariaDB> SHOW CREATE PROCEDURE test.simpleproc\G
*...
|
https://mariadb.com/kb/en/show-create-procedure/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 358
|
358 |
SHOW CREATE EVENT |
26 |
Syntax:
SHOW CREATE EVENT event_name
This stateme... |
MariaDB> SHOW CREATE EVENT test.e_daily\G
********...
|
https://mariadb.com/kb/en/show-create-event/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 309
|
309 |
SHOW CREATE DATABASE |
26 |
Syntax:
SHOW CREATE {DATABASE | SCHEMA} [IF NOT EX... |
MariaDB> SHOW CREATE DATABASE test\G
*************...
|
https://mariadb.com/kb/en/show-create-database/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 429
|
429 |
PASSWORD |
12 |
Syntax:
PASSWORD(str)
Calculates and returns a ha... |
MariaDB> SET old_passwords = 0;
MariaDB> SELECT PA...
|
https://mariadb.com/kb/en/password/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 325
|
325 |
AREA |
2 |
Area(poly)
Returns as a double-precision number t... |
MariaDB> SET @poly = 'Polygon((0 0,0 3,3 0,0 0),(1...
|
https://mariadb.com/kb/en/area/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 402
|
402 |
NUMINTERIORRINGS |
2 |
NumInteriorRings(poly)
Returns the number of inte... |
MariaDB> SET @poly =
-> 'Polygon((0 0,0 3,3 3,...
|
https://mariadb.com/kb/en/numinteriorrings/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 403
|
403 |
INTERIORRINGN |
2 |
InteriorRingN(poly,N)
Returns the N-th interior r... |
MariaDB> SET @poly =
-> 'Polygon((0 0,0 3,3 3,...
|
https://mariadb.com/kb/en/interiorringn/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 143
|
143 |
EXTERIORRING |
2 |
ExteriorRing(poly)
Returns the exterior ring of t... |
MariaDB> SET @poly =
-> 'Polygon((0 0,0 3,3 3,...
|
https://mariadb.com/kb/en/exteriorring/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 225
|
225 |
NUMPOINTS |
13 |
NumPoints(ls)
Returns the number of Point objects... |
MariaDB> SET @ls = 'LineString(1 1,2 2,3 3)';
Mari...
|
https://mariadb.com/kb/en/numpoints/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 501
|
501 |
GLENGTH |
13 |
GLength(ls)
Returns as a double-precision number ... |
MariaDB> SET @ls = 'LineString(1 1,2 2,3 3)';
Mari...
|
https://mariadb.com/kb/en/glength/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 198
|
198 |
STARTPOINT |
13 |
StartPoint(ls)
Returns the Point that is the star... |
MariaDB> SET @ls = 'LineString(1 1,2 2,3 3)';
Mari...
|
https://mariadb.com/kb/en/startpoint/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 286
|
286 |
POINTN |
13 |
PointN(ls,N)
Returns the N-th Point in the Linest... |
MariaDB> SET @ls = 'LineString(1 1,2 2,3 3)';
Mari...
|
https://mariadb.com/kb/en/pointn/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 102
|
102 |
ENDPOINT |
13 |
EndPoint(ls)
Returns the Point that is the endpoi... |
MariaDB> SET @ls = 'LineString(1 1,2 2,3 3)';
Mari...
|
https://mariadb.com/kb/en/endpoint/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 183
|
183 |
NUMGEOMETRIES |
25 |
NumGeometries(gc)
Returns the number of geometrie... |
MariaDB> SET @gc = 'GeometryCollection(Point(1 1),...
|
https://mariadb.com/kb/en/numgeometries/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 213
|
213 |
GEOMETRYN |
25 |
GeometryN(gc,N)
Returns the N-th geometry in the ... |
MariaDB> SET @gc = 'GeometryCollection(Point(1 1),...
|
https://mariadb.com/kb/en/geometryn/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 386
|
386 |
MBRWITHIN |
6 |
MBRWithin(g1,g2)
Returns 1 or 0 to indicate wheth... |
MariaDB> SET @g1 = GeomFromText('Polygon((0 0,0 3,...
|
https://mariadb.com/kb/en/mbrwithin/ |
|
|
Edit
|
Copy
|
Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 354
|
354 |
MBRCONTAINS |
6 |
MBRContains(g1,g2)
Returns 1 or 0 to indicate whe... |
MariaDB> SET @g1 = GeomFromText('Polygon((0 0,0 3,...
|
https://mariadb.com/kb/en/mbrcontains/ |