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 `TABLE_CONSTRAINTS`
[ Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
CONSTRAINT_CATALOG CONSTRAINT_SCHEMA CONSTRAINT_NAME TABLE_SCHEMA TABLE_NAME CONSTRAINT_TYPE
def campushub_docs PRIMARY campushub_docs tickets PRIMARY KEY
def campushub_docs PRIMARY campushub_docs ticket_history PRIMARY KEY
def campushub_docs ticket_history_ibfk_1 campushub_docs ticket_history FOREIGN KEY
def cashier_activity_logs PRIMARY cashier_activity_logs active_sessions PRIMARY KEY
def cashier_activity_logs PRIMARY cashier_activity_logs system_logs PRIMARY KEY
def cgc_canteen PRIMARY cgc_canteen tenant_payments PRIMARY KEY
def cgc_canteen other_expenses cgc_canteen tenant_payments CHECK
def cgc_mailer PRIMARY cgc_mailer sent_logs PRIMARY KEY
def cgc_mailer email cgc_mailer sent_logs UNIQUE
def cgc_tabulation PRIMARY cgc_tabulation audit_logs PRIMARY KEY
def cgc_tabulation audit_logs_ibfk_1 cgc_tabulation audit_logs FOREIGN KEY
def cgc_tabulation PRIMARY cgc_tabulation candidates PRIMARY KEY
def cgc_tabulation competition_id cgc_tabulation candidates UNIQUE
def cgc_tabulation candidates_ibfk_1 cgc_tabulation candidates FOREIGN KEY
def cgc_tabulation candidates_ibfk_2 cgc_tabulation candidates FOREIGN KEY
def cgc_tabulation PRIMARY cgc_tabulation categories PRIMARY KEY
def cgc_tabulation categories_ibfk_1 cgc_tabulation categories FOREIGN KEY
def cgc_tabulation fk_category_round cgc_tabulation categories FOREIGN KEY
def cgc_tabulation PRIMARY cgc_tabulation category_mechanics PRIMARY KEY
def cgc_tabulation category_mechanics_ibfk_1 cgc_tabulation category_mechanics FOREIGN KEY
def cgc_tabulation PRIMARY cgc_tabulation competitions PRIMARY KEY
def cgc_tabulation PRIMARY cgc_tabulation deductions PRIMARY KEY
def cgc_tabulation deductions_ibfk_1 cgc_tabulation deductions FOREIGN KEY
def cgc_tabulation deductions_ibfk_2 cgc_tabulation deductions FOREIGN KEY
def cgc_tabulation deductions_ibfk_3 cgc_tabulation deductions FOREIGN KEY
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