SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'empresas';
↑+1ms
#3
debug
SELECT * FROM empresas ORDER BY nombre ASC
↑+2ms
#4
debug
SHOW COLUMNS FROM `attached_files`;
↑+28ms
#5
debug
SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'attached_files';
↑
#6
debug
SELECT * FROM attached_files WHERE idfile = '96' LIMIT 1 OFFSET 0;