1
0.58 ms
SELECT DATABASE ()
2
8.66 ms
SELECT c . TABLE_NAME , c . COLUMN_NAME AS field ,
c . COLUMN_TYPE AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = ? AND t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION
Parameters :
[
"cmsagencetwco_demo "
"cmsagencetwco_demo "
]
SELECT c . TABLE_NAME , c . COLUMN_NAME AS field ,
c . COLUMN_TYPE AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION ;
Copy
3
1.32 ms
SELECT TABLE_NAME , NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX
Parameters :
[
"cmsagencetwco_demo "
]
SELECT TABLE_NAME , NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = 'cmsagencetwco_demo' ORDER BY SEQ_IN_INDEX ;
Copy
4
3.03 ms
SELECT DISTINCT k . TABLE_NAME , k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = ? AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION
Parameters :
[
"cmsagencetwco_demo "
]
SELECT DISTINCT k . TABLE_NAME , k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = 'cmsagencetwco_demo' AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION ;
Copy
5
5.37 ms
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE'
Parameters :
[
"cmsagencetwco_demo "
]
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_TYPE = 'BASE TABLE' ;
Copy
6
0.49 ms
SELECT l0_ . code AS code_0 FROM locale l0_
SELECT l0_ . code AS code_0 FROM locale l0_ ;
Copy
7
0.26 ms
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . isdefault = ? LIMIT 1
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . isdefault = 1 LIMIT 1 ;
Copy
8
0.22 ms
SELECT DATABASE ()
9
8.68 ms
SELECT c . TABLE_NAME , c . COLUMN_NAME AS field ,
c . COLUMN_TYPE AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = ? AND t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION
Parameters :
[
"cmsagencetwco_demo "
"cmsagencetwco_demo "
]
SELECT c . TABLE_NAME , c . COLUMN_NAME AS field ,
c . COLUMN_TYPE AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION ;
Copy
10
1.24 ms
SELECT TABLE_NAME , NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX
Parameters :
[
"cmsagencetwco_demo "
]
SELECT TABLE_NAME , NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = 'cmsagencetwco_demo' ORDER BY SEQ_IN_INDEX ;
Copy
11
3.03 ms
SELECT DISTINCT k . TABLE_NAME , k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = ? AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION
Parameters :
[
"cmsagencetwco_demo "
]
SELECT DISTINCT k . TABLE_NAME , k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = 'cmsagencetwco_demo' AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION ;
Copy
12
5.61 ms
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE'
Parameters :
[
"cmsagencetwco_demo "
]
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_TYPE = 'BASE TABLE' ;
Copy
13
0.39 ms
SELECT DATABASE ()
14
13.31 ms
SELECT c . TABLE_NAME , c . COLUMN_NAME AS field ,
c . COLUMN_TYPE AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = ? AND t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION
Parameters :
[
"cmsagencetwco_demo "
"cmsagencetwco_demo "
]
SELECT c . TABLE_NAME , c . COLUMN_NAME AS field ,
c . COLUMN_TYPE AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION ;
Copy
15
1.90 ms
SELECT TABLE_NAME , NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX
Parameters :
[
"cmsagencetwco_demo "
]
SELECT TABLE_NAME , NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = 'cmsagencetwco_demo' ORDER BY SEQ_IN_INDEX ;
Copy
16
4.49 ms
SELECT DISTINCT k . TABLE_NAME , k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = ? AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION
Parameters :
[
"cmsagencetwco_demo "
]
SELECT DISTINCT k . TABLE_NAME , k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = 'cmsagencetwco_demo' AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION ;
Copy
17
7.32 ms
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE'
Parameters :
[
"cmsagencetwco_demo "
]
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_TYPE = 'BASE TABLE' ;
Copy
18
0.62 ms
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = ? LIMIT 1
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = 'fr' LIMIT 1 ;
Copy
19
0.35 ms
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = ? AND t0 . lang_id = ? AND t0 . scope IS NULL LIMIT 1
Parameters :
[
"Connexion "
1
]
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = 'Connexion' AND t0 . lang_id = 1 AND t0 . scope IS NULL LIMIT 1 ;
Copy
20
0.58 ms
SELECT t0 . category AS category_1 , t0 . name AS name_2 , t0 . _key AS _key_3 , t0 . type AS type_4 , t0 . value AS value_5 , t0 . id AS id_6 FROM config t0 WHERE t0 . _key = ? LIMIT 1
Parameters :
[
"site_color "
]
SELECT t0 . category AS category_1 , t0 . name AS name_2 , t0 . _key AS _key_3 , t0 . type AS type_4 , t0 . value AS value_5 , t0 . id AS id_6 FROM config t0 WHERE t0 . _key = 'site_color' LIMIT 1 ;
Copy
21
0.23 ms
SELECT t0 . category AS category_1 , t0 . name AS name_2 , t0 . _key AS _key_3 , t0 . type AS type_4 , t0 . value AS value_5 , t0 . id AS id_6 FROM config t0 WHERE t0 . _key = ? LIMIT 1
Parameters :
[
"site_color_hover "
]
SELECT t0 . category AS category_1 , t0 . name AS name_2 , t0 . _key AS _key_3 , t0 . type AS type_4 , t0 . value AS value_5 , t0 . id AS id_6 FROM config t0 WHERE t0 . _key = 'site_color_hover' LIMIT 1 ;
Copy
22
0.51 ms
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = ? LIMIT 1
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = 'fr' LIMIT 1 ;
Copy
23
0.29 ms
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = ? AND t0 . lang_id = ? AND t0 . scope IS NULL LIMIT 1
Parameters :
[
"Se connecter "
1
]
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = 'Se connecter' AND t0 . lang_id = 1 AND t0 . scope IS NULL LIMIT 1 ;
Copy
24
0.20 ms
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = ? LIMIT 1
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = 'fr' LIMIT 1 ;
Copy
25
0.25 ms
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = ? AND t0 . lang_id = ? AND t0 . scope IS NULL LIMIT 1
Parameters :
[
"Veuillez saisir vos identifiants pour accéder à l'interface de gestion. "
1
]
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = 'Veuillez saisir vos identifiants pour accéder à l\'interface de gestion.' AND t0 . lang_id = 1 AND t0 . scope IS NULL LIMIT 1 ;
Copy
26
0.35 ms
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = ? LIMIT 1
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = 'fr' LIMIT 1 ;
Copy
27
0.25 ms
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = ? AND t0 . lang_id = ? AND t0 . scope IS NULL LIMIT 1
Parameters :
[
"Se connecter "
1
]
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = 'Se connecter' AND t0 . lang_id = 1 AND t0 . scope IS NULL LIMIT 1 ;
Copy
28
0.19 ms
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = ? LIMIT 1
SELECT t0 . code AS code_1 , t0 . isdefault AS isdefault_2 , t0 . id AS id_3 FROM locale t0 WHERE t0 . code = 'fr' LIMIT 1 ;
Copy
29
0.22 ms
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = ? AND t0 . lang_id = ? AND t0 . scope IS NULL LIMIT 1
Parameters :
[
"Mot de passe oublié "
1
]
SELECT t0 . base_text AS base_text_1 , t0 . scope AS scope_2 , t0 . translation AS translation_3 , t0 . id AS id_4 , t0 . lang_id AS lang_id_5 FROM translation t0 WHERE t0 . base_text = 'Mot de passe oublié' AND t0 . lang_id = 1 AND t0 . scope IS NULL LIMIT 1 ;
Copy
30
0.20 ms
SELECT DATABASE ()
31
8.41 ms
SELECT c . TABLE_NAME , c . COLUMN_NAME AS field ,
c . COLUMN_TYPE AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = ? AND t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION
Parameters :
[
"cmsagencetwco_demo "
"cmsagencetwco_demo "
]
SELECT c . TABLE_NAME , c . COLUMN_NAME AS field ,
c . COLUMN_TYPE AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION ;
Copy
32
1.19 ms
SELECT TABLE_NAME , NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX
Parameters :
[
"cmsagencetwco_demo "
]
SELECT TABLE_NAME , NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = 'cmsagencetwco_demo' ORDER BY SEQ_IN_INDEX ;
Copy
33
2.96 ms
SELECT DISTINCT k . TABLE_NAME , k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = ? AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION
Parameters :
[
"cmsagencetwco_demo "
]
SELECT DISTINCT k . TABLE_NAME , k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = 'cmsagencetwco_demo' AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION ;
Copy
34
5.00 ms
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE'
Parameters :
[
"cmsagencetwco_demo "
]
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = 'cmsagencetwco_demo' AND t . TABLE_TYPE = 'BASE TABLE' ;
Copy