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 `INNODB_SYS_FOREIGN` ORDER BY `N_COLS` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
ID FOR_NAME REF_NAME N_COLS Descending Ascending 1 TYPE
pos_db/stock_logs_ibfk_1 pos_db/stock_logs pos_db/branches 1 0
ifiber_db/jobs_ibfk_1 ifiber_db/jobs ifiber_db/users 1 2
pos_db/open_tickets_ibfk_2 pos_db/open_tickets pos_db/pos_users 1 0
pos_db/product_stocks_ibfk_2 pos_db/product_stocks pos_db/branches 1 1
ifiber_db/attendance_ibfk_1 ifiber_db/attendance ifiber_db/users 1 1
pos_db/open_tickets_ibfk_1 pos_db/open_tickets pos_db/branches 1 0
pos_db/product_stocks_ibfk_1 pos_db/product_stocks pos_db/products 1 1
hotel_booking_db/shifts_ibfk_1 hotel_booking_db/shifts hotel_booking_db/users 1 1
pos_db/loyalty_history_ibfk_1 pos_db/loyalty_history pos_db/customers 1 1
pos_db/products_ibfk_1 pos_db/products pos_db/categories 1 2
hotel_booking_db/extra_services_ibfk_1 hotel_booking_db/extra_services hotel_booking_db/bookings 1 1
pos_db/expenses_ibfk_2 pos_db/expenses pos_db/expense_categories 1 0
pos_db/pos_users_ibfk_1 pos_db/pos_users pos_db/branches 1 2
pos_db/stock_transfers_ibfk_3 pos_db/stock_transfers pos_db/products 1 0
hotel_booking_db/bookings_ibfk_2 hotel_booking_db/bookings hotel_booking_db/customers 1 1
pos_db/expenses_ibfk_1 pos_db/expenses pos_db/branches 1 0
pos_db/order_items_ibfk_2 pos_db/order_items pos_db/products 1 2
pos_db/stock_transfers_ibfk_2 pos_db/stock_transfers pos_db/branches 1 0
hotel_booking_db/bookings_ibfk_1 hotel_booking_db/bookings hotel_booking_db/rooms 1 1
pos_db/card_sessions_ibfk_1 pos_db/card_sessions pos_db/smart_cards 1 1
pos_db/order_items_ibfk_1 pos_db/order_items pos_db/orders 1 1
pos_db/stock_transfers_ibfk_1 pos_db/stock_transfers pos_db/branches 1 0
ifiber_db/job_logs_ibfk_2 ifiber_db/job_logs ifiber_db/users 1 1
pos_db/stock_logs_ibfk_2 pos_db/stock_logs pos_db/products 1 1
ifiber_db/job_logs_ibfk_1 ifiber_db/job_logs ifiber_db/jobs 1 1
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