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 :
Table structure
Settings for the table structure (list of columns).
Table structure
Documentation Whether the table structure actions should be hidden. Restore default value
Documentation Whether column comments should be shown in table structure view Restore default value
Default transformations
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value

tb_grupos_sustituciones

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(11) No None AUTO_INCREMENT Change Change Drop Drop
2 int(11) No None ID del grupo afectado Change Change Drop Drop
3 int(11) No None Profesor titular (respaldo histórico) Change Change Drop Drop
4 int(11) No None Maestro sustituto asignado Change Change Drop Drop
5 int(11) Yes NULL Supervisor que aprueba (Escolar) Change Change Drop Drop
6 int(11) No None Quien crea la solicitud (titular o escolar) Change Change Drop Drop
7 datetime No current_timestamp() Fecha de creación de la solicitud Change Change Drop Drop
8 date No None Fecha de inicio de la sustitución Change Change Drop Drop
9 date No None Fecha de fin de la sustitución Change Change Drop Drop
10 text utf8mb4_general_ci Yes NULL Motivo de la sustitución Change Change Drop Drop
11 double(9,2) Yes 1.00 Factor de pago para el sustituto (default 1) Change Change Drop Drop
12 varchar(30) utf8mb4_general_ci Yes pendiente pendiente|aprobada|rechazada|vencida|cancelada Change Change Drop Drop
13 datetime Yes NULL Fecha de aprobación por Escolar Change Change Drop Drop
14 datetime Yes NULL Fecha en que el CRON revirtió la sustitución Change Change Drop Drop
15 text utf8mb4_general_ci Yes NULL Notas internas del área escolar Change Change Drop Drop
16 text utf8mb4_general_ci Yes NULL Motivo de rechazo si aplica Change Change Drop Drop
17 tinyint(1) Yes 0 1=ya se notificó por email, 0=pendiente Change Change Drop Drop
18 tinyint(1) Yes 1 Change Change Drop Drop
With selected: With selected:

Add column  Add column(s)  
Indexes Documentation
Action Keyname Type Unique Packed Column Cardinality Collation Null Comment
Edit Edit Rename Rename Drop Drop PRIMARY BTREE Yes No id 14 A No
Edit Edit Rename Rename Drop Drop idx_sustitucion_grupo BTREE No No id_grupo 14 A No
Edit Edit Rename Rename Drop Drop idx_sustitucion_titular BTREE No No id_profesor_titular 14 A No
Edit Edit Rename Rename Drop Drop idx_sustitucion_sustituto BTREE No No id_profesor_sustituto 14 A No
Edit Edit Rename Rename Drop Drop idx_sustitucion_estatus BTREE No No estatus 7 A Yes
Edit Edit Rename Rename Drop Drop idx_sustitucion_fechas BTREE No No fecha_inicio 14 A No
fecha_fin 14 A No
Edit Edit Rename Rename Drop Drop idx_sustitucion_activa BTREE No No id_grupo 14 A No
estatus 14 A Yes
fecha_inicio 14 A No
fecha_fin 14 A No
Create an index on columns
Partitions Documentation
Information

Table comments: Gestión de sustituciones temporales de maestros

Space usage
Data 16.0 KiB
Index 96.0 KiB
Overhead 0 B
Effective 112.0 KiB
Total 112.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_general_ci
Next autoindex 15
Creation Jan 24, 2026 at 11:16 AM
Last update Jan 24, 2026 at 11:16 AM
Last check Jan 27, 2026 at 09:40 AM