SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'empresas';
2.7ms
#3
debug
SHOW COLUMNS FROM `empresas`;
2.8ms
#4
debug
SELECT * FROM empresas ORDER BY nombre ASC
2.6ms
#5
debug
SHOW COLUMNS FROM `attached_files`;
5.6ms
#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';
3.8ms
#7
debug
SHOW COLUMNS FROM `attached_files`;
2.1ms
#8
debug
SELECT * FROM attached_files WHERE idfile = '2' LIMIT 1 OFFSET 0;