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
↑+71ms
#4
debug
SHOW COLUMNS FROM `attached_files`;
↑+35ms
#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';
↑+1ms
#6
debug
SELECT * FROM attached_files WHERE idfile = '1' LIMIT 1 OFFSET 0;