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 `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 students_app_db announcements id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def students_app_db announcements category 2 NULL NO enum 9 36 NULL NULL NULL utf8mb4 utf8mb4_general_ci enum('urgent','important','info') select,insert,update,references NEVER NULL
def students_app_db announcements title 3 NULL NO varchar 150 600 NULL NULL NULL utf8mb4 utf8mb4_general_ci varchar(150) select,insert,update,references NEVER NULL
def students_app_db announcements body 4 NULL NO text 65535 65535 NULL NULL NULL utf8mb4 utf8mb4_general_ci text select,insert,update,references NEVER NULL
def students_app_db announcements faculty 5 NULL NO varchar 100 400 NULL NULL NULL utf8mb4 utf8mb4_general_ci varchar(100) select,insert,update,references NEVER NULL
def students_app_db announcements course 6 NULL YES varchar 150 600 NULL NULL NULL utf8mb4 utf8mb4_general_ci varchar(150) select,insert,update,references NEVER NULL
def students_app_db announcements year_of_study 7 NULL YES int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references NEVER NULL
def students_app_db announcements posted_by 8 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) MUL select,insert,update,references NEVER NULL
def students_app_db announcements created_at 9 current_timestamp() NO timestamp NULL NULL NULL NULL 0 NULL NULL timestamp select,insert,update,references NEVER NULL
def students_app_db announcement_reads id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def students_app_db announcement_reads announcement_id 2 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) MUL select,insert,update,references NEVER NULL
def students_app_db announcement_reads user_id 3 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) MUL select,insert,update,references NEVER NULL
def students_app_db announcement_reads read_at 4 current_timestamp() NO timestamp NULL NULL NULL NULL 0 NULL NULL timestamp select,insert,update,references NEVER NULL
def students_app_db courses id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def students_app_db courses faculty_id 2 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) MUL select,insert,update,references NEVER NULL
def students_app_db courses name 3 NULL NO varchar 150 600 NULL NULL NULL utf8mb4 utf8mb4_general_ci varchar(150) select,insert,update,references NEVER NULL
def students_app_db courses total_years 4 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references NEVER NULL
def students_app_db courses semesters_per_year 5 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references NEVER NULL
def students_app_db courses current_semester 6 1 NO int NULL NULL 10 0 NULL NULL NULL int(11) select,insert,update,references NEVER NULL
def students_app_db faculties id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def students_app_db faculties name 2 NULL NO varchar 100 400 NULL NULL NULL utf8mb4 utf8mb4_general_ci varchar(100) UNI select,insert,update,references NEVER NULL
def students_app_db lesson_instances id 1 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) PRI auto_increment select,insert,update,references NEVER NULL
def students_app_db lesson_instances timetable_id 2 NULL NO int NULL NULL 10 0 NULL NULL NULL int(11) MUL select,insert,update,references NEVER NULL
def students_app_db lesson_instances lesson_date 3 NULL NO date NULL NULL NULL NULL NULL NULL NULL date select,insert,update,references NEVER NULL
def students_app_db lesson_instances status 4 'scheduled' NO enum 9 36 NULL NULL NULL utf8mb4 utf8mb4_general_ci enum('scheduled','confirmed','cancelled') 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