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 `KEY_COLUMN_USAGE` ORDER BY `TABLE_SCHEMA` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
CONSTRAINT_CATALOG CONSTRAINT_SCHEMA CONSTRAINT_NAME TABLE_CATALOG TABLE_SCHEMA Descending Ascending 1 TABLE_NAME COLUMN_NAME ORDINAL_POSITION POSITION_IN_UNIQUE_CONSTRAINT REFERENCED_TABLE_SCHEMA REFERENCED_TABLE_NAME REFERENCED_COLUMN_NAME
def pos_db PRIMARY def pos_db orders id 1 NULL NULL NULL NULL
def pos_db products_ibfk_1 def pos_db products category_id 1 1 pos_db categories id
def pos_db stock_transfers_ibfk_1 def pos_db stock_transfers from_branch_id 1 1 pos_db branches id
def pos_db expenses_ibfk_1 def pos_db expenses branch_id 1 1 pos_db branches id
def pos_db PRIMARY def pos_db pos_settings branch_id 2 NULL NULL NULL NULL
def pos_db role_menu def pos_db role_permissions role 1 NULL NULL NULL NULL
def pos_db PRIMARY def pos_db void_requests id 1 NULL NULL NULL NULL
def pos_db PRIMARY def pos_db customers id 1 NULL NULL NULL NULL
def pos_db order_number def pos_db orders order_number 1 NULL NULL NULL NULL
def pos_db PRIMARY def pos_db product_stocks id 1 NULL NULL NULL NULL
def pos_db stock_transfers_ibfk_2 def pos_db stock_transfers to_branch_id 1 1 pos_db branches id
def pos_db expenses_ibfk_2 def pos_db expenses category_id 1 1 pos_db expense_categories id
def pos_db PRIMARY def pos_db pos_shifts id 1 NULL NULL NULL NULL
def pos_db role_menu def pos_db role_permissions menu_key 2 NULL NULL NULL NULL
def pos_db phone def pos_db customers phone 1 NULL NULL NULL NULL
def pos_db PRIMARY def pos_db branches id 1 NULL NULL NULL NULL
def pos_db orders_ibfk_1 def pos_db orders branch_id 1 1 pos_db branches id
def pos_db idx_prod_branch def pos_db product_stocks product_id 1 NULL NULL NULL NULL
def pos_db stock_transfers_ibfk_3 def pos_db stock_transfers product_id 1 1 pos_db products id
def pos_db PRIMARY def pos_db expense_categories id 1 NULL NULL NULL NULL
def pos_db PRIMARY def pos_db pos_users id 1 NULL NULL NULL NULL
def pos_db PRIMARY def pos_db smart_cards id 1 NULL NULL NULL NULL
def pos_db PRIMARY def pos_db discounts id 1 NULL NULL NULL NULL
def pos_db code def pos_db branches code 1 NULL NULL NULL NULL
def pos_db PRIMARY def pos_db order_items id 1 NULL NULL NULL 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