SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'empresas';
4.3ms
#3
debug
SHOW COLUMNS FROM `empresas`;
4.4ms
#4
debug
SELECT * FROM empresas ORDER BY nombre ASC
2.9ms
#5
debug
SHOW COLUMNS FROM `attached_files`;
3.1ms
#6
debug
SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'attached_files';
1.6ms
#7
debug
SHOW COLUMNS FROM `attached_files`;
4.0ms
#8
debug
SELECT * FROM attached_files WHERE idfile = '2' LIMIT 1 OFFSET 0;