Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :
Browse mode
Customise browse mode.
Browse mode
Documentation Use only icons, only text or both. Restore default value
Documentation Use only icons, only text or both. Restore default value
Documentation Whether a user should be displayed a "show all (rows)" button. Restore default value
Documentation Number of rows displayed when browsing a result set. If the result set contains more rows, "Previous" and "Next" links will be shown. Restore default value
Documentation SMART - i.e. descending order for columns of type TIME, DATE, DATETIME and TIMESTAMP, ascending order otherwise. Restore default value
Documentation Highlight row pointed by the mouse cursor. Restore default value
Documentation Highlight selected rows. Restore default value
Documentation Restore default value
Documentation Restore default value
Documentation Repeat the headers every X cells, 0 deactivates this feature. Restore default value
Documentation Maximum number of characters shown in any non-numeric column on browse view. Restore default value
Documentation These are Edit, Copy and Delete links. Restore default value
Documentation Whether to show row links even in the absence of a unique key. Restore default value
Documentation Default sort order for tables with a primary key. Restore default value
Documentation When browsing tables, the sorting of each table is remembered. Restore default value
Documentation For display Options Restore default value
SELECT * FROM `help_topic` ORDER BY `url` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts help_topic_id name help_category_id description example url Descending Ascending 1
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 204
204 YEARWEEK 31 Syntax:
YEARWEEK(date), YEARWEEK(date,mode)

Retur...
MariaDB> SELECT YEARWEEK('1987-01-01');
        ->...
https://mariadb.com/kb/en/yearweek/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 364
364 YEAR 31 Syntax:
YEAR(date)

Returns the year for date, in ...
MariaDB> SELECT YEAR('1987-01-01');
        -> 198...
https://mariadb.com/kb/en/year/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 287
287 YEAR DATA TYPE 22 YEAR[(2|4)]

A year in two-digit or four-digit for...
https://mariadb.com/kb/en/year-data-type/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 400
400 Y 11 Y(p)

Returns the Y-coordinate value for the Point...
MariaDB> SELECT Y(POINT(56.7, 53.34));
+----------...
https://mariadb.com/kb/en/y/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 197
197 XOR 15 Syntax:
XOR

Logical XOR. Returns NULL if either o...
MariaDB> SELECT 1 XOR 1;
        -> 0
MariaDB> SEL...
https://mariadb.com/kb/en/xor/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 317
317 X 11 X(p)

Returns the X-coordinate value for the Point...
MariaDB> SELECT X(POINT(56.7, 53.34));
+----------...
https://mariadb.com/kb/en/x/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 247
247 WKT DEFINITION 3 The Well-Known Text (WKT) representation of Geomet... https://mariadb.com/kb/en/wkt-definition/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 31
31 WITHIN 30 Within(g1,g2)

Returns 1 or 0 to indicate whether ...
https://mariadb.com/kb/en/within/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 496
496 WHILE 23 Syntax:
[begin_label:] WHILE search_condition DO
...
CREATE PROCEDURE dowhile()
BEGIN
  DECLARE v1 INT ...
https://mariadb.com/kb/en/while/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 267
267 WEEKOFYEAR 31 Syntax:
WEEKOFYEAR(date)

Returns the calendar wee...
MariaDB> SELECT WEEKOFYEAR('2008-02-20');
        ...
https://mariadb.com/kb/en/weekofyear/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 371
371 WEEKDAY 31 Syntax:
WEEKDAY(date)

Returns the weekday index f...
MariaDB> SELECT WEEKDAY('2008-02-03 22:23:00');
  ...
https://mariadb.com/kb/en/weekday/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 32
32 WEEK 31 Syntax:
WEEK(date[,mode])

This function returns t...
MariaDB> SELECT WEEK('2008-02-20');
        -> 7
M...
https://mariadb.com/kb/en/week/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 505
505 VERSION 17 Syntax:
VERSION()

Returns a string that indicates...
MariaDB> SELECT VERSION();
        -> '5.5.29-stan...
https://mariadb.com/kb/en/version/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 11
11 VAR_SAMP 16 Syntax:
VAR_SAMP(expr)

Returns the sample varianc...
https://mariadb.com/kb/en/var_samp/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 157
157 VAR_POP 16 Syntax:
VAR_POP(expr)

Returns the population stan...
https://mariadb.com/kb/en/var_pop/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 8
8 VARIANCE 16 Syntax:
VARIANCE(expr)

Returns the population sta...
https://mariadb.com/kb/en/variance/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 257
257 VARCHAR 22 [NATIONAL] VARCHAR(M) [CHARACTER SET charset_name]... https://mariadb.com/kb/en/varchar/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 303
303 VARBINARY 22 VARBINARY(M)

The VARBINARY type is similar to the...
https://mariadb.com/kb/en/varbinary/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 341
341 VALUES 14 Syntax:
VALUES(col_name)

In an INSERT ... ON DUPL...
MariaDB> INSERT INTO table (a,b,c) VALUES (1,2,3),...
https://mariadb.com/kb/en/values/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 412
412 UUID_SHORT 14 Syntax:
UUID_SHORT()

Returns a "short" universal ...
MariaDB> SELECT UUID_SHORT();
        -> 923957838...
https://mariadb.com/kb/en/uuid_short/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 44
44 UUID 14 Syntax:
UUID()

Returns a Universal Unique Identif...
MariaDB> SELECT UUID();
        -> '6ccd780c-baba-...
https://mariadb.com/kb/en/uuid/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 442
442 UTC_TIMESTAMP 31 Syntax:
UTC_TIMESTAMP, UTC_TIMESTAMP()

Returns th...
MariaDB> SELECT UTC_TIMESTAMP(), UTC_TIMESTAMP() +...
https://mariadb.com/kb/en/utc_timestamp/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 404
404 UTC_TIME 31 Syntax:
UTC_TIME, UTC_TIME()

Returns the current ...
MariaDB> SELECT UTC_TIME(), UTC_TIME() + 0;
      ...
https://mariadb.com/kb/en/utc_time/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 431
431 UTC_DATE 31 Syntax:
UTC_DATE, UTC_DATE()

Returns the current ...
MariaDB> SELECT UTC_DATE(), UTC_DATE() + 0;
      ...
https://mariadb.com/kb/en/utc_date/
Edit Edit Copy Copy Delete Delete
DELETE FROM help_topic WHERE `help_topic`.`help_topic_id` = 461
461 USER 17 Syntax:
USER()

Returns the current MySQL user nam...
MariaDB> SELECT USER();
        -> 'davida@localho...
https://mariadb.com/kb/en/user/
With selected: With selected:
Query results operations Copy to clipboard Copy to clipboard Export Export Display chart Display chart Create view Create view
Bookmark this SQL query Bookmark this SQL query