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
Customize 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 `COLUMNS` ORDER BY `TABLE_SCHEMA` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
TABLE_CATALOG TABLE_SCHEMA Descending Ascending 1 TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT IS_GENERATED GENERATION_EXPRESSION
def restobar_db cash_sessions id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def restobar_db cash_sessions user_id 2 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) MUL select,insert,update,references NEVER NULL
def restobar_db cash_sessions opening_balance 3 NULL NO decimal NULL NULL 10 2 NULL NULL NULL decimal(10,2) select,insert,update,references NEVER NULL
def restobar_db cash_sessions opening_time 4 current_timestamp() NO timestamp NULL NULL NULL NULL 0 NULL NULL timestamp select,insert,update,references NEVER NULL
def restobar_db cash_sessions closing_time 5 NULL YES timestamp NULL NULL NULL NULL 0 NULL NULL timestamp select,insert,update,references NEVER NULL
def restobar_db cash_sessions status 6 'open' YES enum 6 24 NULL NULL NULL utf8mb4 utf8mb4_general_ci enum('open','closed') select,insert,update,references NEVER NULL
def restobar_db cash_sessions expected_closing_balance 7 0.00 YES decimal NULL NULL 10 2 NULL NULL NULL decimal(10,2) select,insert,update,references NEVER NULL
def restobar_db cash_sessions actual_closing_balance 8 0.00 YES decimal NULL NULL 10 2 NULL NULL NULL decimal(10,2) select,insert,update,references NEVER NULL
def restobar_db cash_sessions difference 9 0.00 YES decimal NULL NULL 10 2 NULL NULL NULL decimal(10,2) select,insert,update,references NEVER NULL
def restobar_db cash_sessions note 10 NULL YES text 65535 65535 NULL NULL NULL utf8mb4 utf8mb4_general_ci text select,insert,update,references NEVER NULL
def restobar_db categories id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def restobar_db categories name 2 NULL NO varchar 50 200 NULL NULL NULL utf8mb4 utf8mb4_general_ci varchar(50) select,insert,update,references NEVER NULL
def restobar_db categories icon 3 'utensils' YES varchar 50 200 NULL NULL NULL utf8mb4 utf8mb4_general_ci varchar(50) select,insert,update,references NEVER NULL
def restobar_db categories sort_order 4 0 YES int NULL NULL 10 0 NULL NULL NULL int(11) MUL select,insert,update,references NEVER NULL
def restobar_db categories exclude_from_commission 5 0 YES tinyint NULL NULL 3 0 NULL NULL NULL tinyint(1) select,insert,update,references NEVER NULL
def restobar_db clients id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def restobar_db clients name 2 NULL NO varchar 100 400 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(100) select,insert,update,references NEVER NULL
def restobar_db clients phone 3 NULL NO varchar 20 80 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(20) UNI select,insert,update,references NEVER NULL
def restobar_db clients address 4 NULL YES text 65535 65535 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci text select,insert,update,references NEVER NULL
def restobar_db clients created_at 5 current_timestamp() NO timestamp NULL NULL NULL NULL 0 NULL NULL timestamp select,insert,update,references NEVER NULL
def restobar_db courtesies id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def restobar_db courtesies beneficiary 2 NULL NO varchar 100 400 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci varchar(100) select,insert,update,references NEVER NULL
def restobar_db courtesies reason 3 NULL YES text 65535 65535 NULL NULL NULL utf8mb4 utf8mb4_unicode_ci text select,insert,update,references NEVER NULL
def restobar_db courtesies user_id 4 NULL YES int NULL NULL 10 0 NULL NULL NULL int(11) MUL select,insert,update,references NEVER NULL
def restobar_db courtesies created_at 5 current_timestamp() NO timestamp NULL NULL NULL NULL 0 NULL NULL timestamp select,insert,update,references NEVER NULL
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