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 :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark 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

sales_entries

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(20) UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(50) utf8mb4_unicode_ci No None Change Change Drop Drop
3 bigint(20) No 0 Change Change Drop Drop
4 enum('Cash', 'Party') utf8mb4_unicode_ci No None Change Change Drop Drop
5 enum('SALES', 'PROFORMA', 'QUOTATION', 'DELIVERY_N... utf8mb4_unicode_ci No DRAFT Change Change Drop Drop
6 int(11) No None Change Change Drop Drop
7 int(11) No None Change Change Drop Drop
8 int(10) UNSIGNED No None Change Change Drop Drop
9 int(10) No None Change Change Drop Drop
10 int(11) No None Change Change Drop Drop
11 int(11) No None Change Change Drop Drop
12 enum('Inhouse', 'Sales_reference', 'Others') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
13 varchar(50) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
14 int(10) UNSIGNED Yes NULL Change Change Drop Drop
15 date No None Change Change Drop Drop
16 date Yes NULL Change Change Drop Drop
17 time No None Change Change Drop Drop
18 date Yes NULL Change Change Drop Drop
19 int(10) UNSIGNED No None Change Change Drop Drop
20 varchar(50) utf8mb4_unicode_ci No Change Change Drop Drop
21 int(11) No 0 Change Change Drop Drop
22 int(11) No None Change Change Drop Drop
23 decimal(12,2) UNSIGNED No 0.00 final_other_discount Change Change Drop Drop
24 decimal(12,2) UNSIGNED Yes NULL Change Change Drop Drop
25 decimal(10,2) No 0.00 Change Change Drop Drop
26 decimal(10,2) Yes NULL STORED GENERATED Change Change Drop Drop
27 tinyint(4) No None Change Change Drop Drop
28 decimal(10,2) No 0.00 Change Change Drop Drop
29 decimal(10,2) No 0.00 Change Change Drop Drop
30 decimal(10,2) Yes 0.00 additional discount Change Change Drop Drop
31 decimal(10,2) Yes 0.00 additional discount 1 Change Change Drop Drop
32 decimal(10,2) No 0.00 additional discount 2 Change Change Drop Drop
33 decimal(10,2) Yes NULL Change Change Drop Drop
34 varchar(50) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
35 enum('SCHEME', 'CATEGORY') utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
36 int(11) Yes NULL Change Change Drop Drop
37 decimal(12,2) Yes NULL Change Change Drop Drop
38 decimal(12,2) Yes NULL STORED GENERATED Change Change Drop Drop
39 decimal(10,2) No 0.00 Change Change Drop Drop
40 decimal(10,2) No 0.00 Change Change Drop Drop
41 decimal(10,2) No 0.00 Change Change Drop Drop
42 decimal(10,2) No 0.00 Change Change Drop Drop
43 decimal(10,2) No 0.00 Change Change Drop Drop
44 decimal(10,2) No 0.00 Change Change Drop Drop
45 decimal(10,2) No 0.00 Change Change Drop Drop
46 decimal(10,2) No 0.00 Change Change Drop Drop
47 decimal(10,2) No 0.00 Change Change Drop Drop
48 decimal(10,2) No 0.00 Change Change Drop Drop
49 decimal(10,2) No 0.00 Change Change Drop Drop
50 decimal(12,2) Yes NULL Change Change Drop Drop
51 decimal(12,2) Yes NULL STORED GENERATED Change Change Drop Drop
52 enum('Pending', 'Paid', 'Partial') utf8mb4_unicode_ci No Pending Change Change Drop Drop
53 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
54 longtext utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
55 longtext utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
56 varchar(100) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
57 varchar(20) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
58 int(11) No None Change Change Drop Drop
59 bigint(20) UNSIGNED No None Change Change Drop Drop
60 bigint(20) UNSIGNED No None Change Change Drop Drop
61 bigint(20) UNSIGNED No None Change Change Drop Drop
62 tinyint(1) No 0 Change Change Drop Drop
63 enum('Y', 'N') utf8mb4_unicode_ci No N Change Change Drop Drop
64 datetime No current_timestamp() Change Change Drop Drop
65 datetime Yes NULL ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
66 enum('PENDING', 'GENERATED', 'CANCELLED') utf8mb4_unicode_ci Yes PENDING Change Change Drop Drop
67 enum('PENDING', 'GENERATED', 'CANCELLED') utf8mb4_unicode_ci Yes PENDING Change Change Drop Drop
68 enum('Pending', 'Posted') utf8mb4_unicode_ci Yes Pending Change Change Drop Drop
69 longtext utf8mb4_unicode_ci No None Change Change Drop Drop
70 longtext utf8mb4_unicode_ci No None Change Change Drop Drop
71 enum('BASE', 'PRIMARY_DISCOUNT') utf8mb4_unicode_ci No BASE 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 0 A No
Edit Edit Rename Rename Drop Drop idx_sales_branch_date BTREE No No branch_id 0 A No
voucher_date 0 A No
Edit Edit Rename Rename Drop Drop idx_sales_salesperson BTREE No No sales_person_id 0 A Yes
Edit Edit Rename Rename Drop Drop idx_sales_ledger BTREE No No ledger_id 0 A No
Edit Edit Rename Rename Drop Drop voucher_type_id BTREE No No voucher_type_id 0 A No
Edit Edit Rename Rename Drop Drop party_cat_id BTREE No No party_cat_id 0 A No
Edit Edit Rename Rename Drop Drop godown_id BTREE No No godown_id 0 A No
Create an index on columns
Partitions Documentation
Information
Space usage
Data 16.0 KiB
Index 96.0 KiB
Overhead 0 B
Effective 112.0 KiB
Total 112.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 1
Creation Sep 19, 2026 at 09:30 AM
Last update Sep 29, 2026 at 11:04 AM
Last check Sep 29, 2026 at 11:04 AM