Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Options
Set default





Collapse Expand Requery Edit Explain Profiling Query failed Database : Queried time :
Table structure
Settings for the table structure (list of columns).
Table structure
Documentation Whether the table structure actions should be hidden. Restore default value
Documentation Whether column comments should be shown in table structure view Restore default value
Default transformations
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value

produtos_fiscais

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(11) No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(14) utf8mb4_general_ci Yes NULL Código GTIN (antigo código de barras) Change Change Drop Drop
3 varchar(120) utf8mb4_general_ci No None Descrição do produto Change Change Drop Drop
4 varchar(8) utf8mb4_general_ci No None Código NCM Change Change Drop Drop
5 varchar(7) utf8mb4_general_ci Yes NULL Código CEST quando aplicável Change Change Drop Drop
6 char(2) utf8mb4_general_ci Yes NULL UF para regras específicas Change Change Drop Drop
7 varchar(2) utf8mb4_general_ci Yes NULL Código de Situação Tributária do ICMS Change Change Drop Drop
8 decimal(5,2) Yes NULL Alíquota do ICMS em percentual Change Change Drop Drop
9 decimal(5,2) Yes NULL Margem de Valor Agregado padrão Change Change Drop Drop
10 decimal(5,2) Yes NULL MVA para alíquota de 12% Change Change Drop Drop
11 decimal(5,2) Yes NULL MVA para alíquota de 4% Change Change Drop Drop
12 varchar(2) utf8mb4_general_ci Yes NULL CST para PIS Change Change Drop Drop
13 decimal(5,2) Yes NULL Alíquota do PIS em percentual Change Change Drop Drop
14 varchar(2) utf8mb4_general_ci Yes NULL CST para COFINS Change Change Drop Drop
15 decimal(5,2) Yes NULL Alíquota do COFINS em percentual Change Change Drop Drop
16 varchar(100) utf8mb4_general_ci Yes NULL Natureza da operação Change Change Drop Drop
17 timestamp No current_timestamp() Change Change Drop Drop
18 timestamp No current_timestamp() ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
With selected: With selected:

Add column  Add column(s)  
Indexes Documentation
Action Keyname Type Unique Packed Column Cardinality Collation Null Comment
Edit Edit Rename Rename Drop Drop PRIMARY BTREE Yes No id 82750 A No
Edit Edit Rename Rename Drop Drop idx_gtin BTREE No No gtin 82750 A Yes
Edit Edit Rename Rename Drop Drop idx_ncm BTREE No No ncm 2507 A No
Edit Edit Rename Rename Drop Drop idx_cest BTREE No No cest 803 A Yes
Edit Edit Rename Rename Drop Drop idx_estado BTREE No No estado 2 A Yes
Edit Edit Rename Rename Drop Drop idx_produtos_fiscais_gtin BTREE No No gtin 82750 A Yes
Create an index on columns
Partitions Documentation
Information

Table comments: Tabela de produtos com informações fiscais

Space usage
Data 7.5 MiB
Index 13.6 MiB
Overhead 10.0 MiB
Effective 11.1 MiB
Total 21.1 MiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_general_ci
Next autoindex 210,742
Creation Aug 05, 2025 at 04:16 PM
Last update Nov 26, 2026 at 06:55 PM
Last check Nov 26, 2026 at 06:55 PM