Recent
`surena_crm`.`sales_entries`
`surena_crm`.`tds_master`
`surena_crm`.`tds_deductions`
`sgm_crm`.`payment_purchase_mapping`
`surena_edbroad_old`.`user_roles`
`sgm_crm`.`tally_posting_issues`
`surena_edbroad_old`.`ledger_details`
`surena_crm`.`expense_voucher_allocations_deleted`
`surena_edbroad_old`.`setting_countries`
`surena_crm`.`crm_lead_sources`
Favourites
There are no favourite tables.
New
information_schema
mysql
payitsea_jnablr
performance_schema
phpmyadmin
rajkamal_crm
sgm_crm
surena
surena_code_editor
surena_crm
edbroad
surena_edbroad_1
surena_edbroad_old
test
Navigation panel
Navigation tree
Servers
Databases
Tables
Navigation panel
Customise appearance of the navigation panel.
Navigation panel
Show databases navigation as tree
In the navigation panel, replaces the database tree with a selector
Link with main panel
Link with main panel by highlighting the current database or table.
Display logo
Show logo in navigation panel.
Logo link URL
URL where logo in the navigation panel will point to.
Logo link target
Open the linked page in the main window (
main
) or in a new one (
new
).
main
new
Enable highlighting
Highlight server under the mouse cursor.
Maximum items on first level
The number of items that can be displayed on each page on the first level of the navigation tree.
Minimum number of items to display the filter box
Defines the minimum number of items (tables, views, routines and events) to display a filter box.
Recently used tables
Maximum number of recently used tables; set 0 to disable.
Favourite tables
Maximum number of favourite tables; set 0 to disable.
Navigation panel width
Set to 0 to collapse navigation panel.
Navigation tree
Customise the navigation tree.
Navigation tree
Maximum items in branch
The number of items that can be displayed on each page of the navigation tree.
Group items in the tree
Group items in the navigation tree (determined by the separator defined in the Databases and Tables tabs above).
Enable navigation tree expansion
Whether to offer the possibility of tree expansion in the navigation panel.
Show tables in tree
Whether to show tables under database in the navigation tree
Show views in tree
Whether to show views under database in the navigation tree
Show functions in tree
Whether to show functions under database in the navigation tree
Show procedures in tree
Whether to show procedures under database in the navigation tree
Show events in tree
Whether to show events under database in the navigation tree
Expand single database
Whether to expand single database in the navigation tree automatically.
Servers
Servers display options.
Servers
Display servers selection
Display server choice at the top of the navigation panel.
Display servers as a list
Show server listing as a list instead of a drop down.
Databases
Databases display options.
Databases
Minimum number of databases to display the database filter box
Database tree separator
String that separates databases into different tree levels.
Tables
Tables display options.
Tables
Target for quick access icon
Structure
SQL
Search
Insert
Browse
Target for second quick access icon
Structure
SQL
Search
Insert
Browse
Table tree separator
String that separates tables into different tree levels.
Maximum table tree depth
Drop files here
SQL upload (
0
)
x
-
Show hidden navigation tree items.
Create view
Javascript must be enabled past this point!
Server: 127.0.0.1
Database: surena_crm
Table: sales_entries
Browse
Structure
(current)
SQL
Search
Insert
Export
Import
Privileges
Operations
Tracking
Triggers
Console
Clear
History
Options
Bookmarks
Debug SQL
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
Label:
Target database:
Share this bookmark
OK
Options
Set default
Always expand query messages
Show query history at start
Show current browsing query
Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings.
Switch to dark theme
Collapse
Expand
Requery
Edit
Explain
Profiling
Bookmark
Query failed
Database :
Queried time :
Loading
ENUM/SET editor
Create view
Table structure
Table structure
Settings for the table structure (list of columns).
Table structure
Hide table structure actions
Whether the table structure actions should be hidden.
Show column comments
Whether column comments should be shown in table structure view
Default transformations
Default transformations for Hex
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
2
Default transformations for Substring
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 all …
Default transformations for Bool2Text
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
T F
Default transformations for External
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 -f /dev/null -i -wrap -q 1 1
Default transformations for PreApPend
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Default transformations for DateFormat
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 local
Default transformations for Inline
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
100 100
Default transformations for TextImageLink
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
100 50
Default transformations for TextLink
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Table structure
Relation view
sales_entries
#
Name
Type
Collation
Attributes
Null
Default
Comments
Extra
Action
1
id
bigint(20)
UNSIGNED
No
None
AUTO_INCREMENT
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
2
voucher_number
varchar(50)
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
3
voucher_type_id
bigint(20)
No
0
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
4
entry_mode
enum('Cash', 'Party')
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
5
entry_status
enum('SALES', 'PROFORMA', 'QUOTATION', 'DELIVERY_N...
utf8mb4_unicode_ci
No
DRAFT
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
6
source_sales_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
7
source_proforma_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
8
source_quotation_id
int(10)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
9
source_delivery_note_id
int(10)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
10
source_sales_order_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
11
source_subsidy_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
12
proforma_status_deleted
enum('Y', 'N')
utf8mb4_unicode_ci
No
N
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
13
quotation_moved_status_deleted
varchar(20)
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
14
delivery_note_type
enum('Inhouse', 'Sales_reference', 'Others')
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
15
sales_channel
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
16
sales_person_id
int(10)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
17
voucher_date
date
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
18
confirm_decline_date
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
19
voucher_time
time
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
20
due_date
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
21
ledger_id
int(10)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
22
order_no
varchar(50)
utf8mb4_unicode_ci
No
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
23
party_cat_id
int(11)
No
0
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
24
invoice_amount
decimal(12,2)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
25
price
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
26
after_prim_dis_price
decimal(10,2)
Yes
NULL
STORED GENERATED
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
27
subsidy_scheme_id
tinyint(4)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
28
subsidy_scheme_discount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
29
pri_discount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
30
proportionate_discount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
31
additional_discount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
32
total_discount
decimal(10,2)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
33
discount_coupon_code
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
34
applied_discount_category
enum('SCHEME', 'CATEGORY')
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
35
applied_discount_category_id
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
36
subsidy_diff_amt
decimal(12,2)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
37
taxable_amount
decimal(12,2)
Yes
NULL
STORED GENERATED
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
38
item_tax_amout
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
39
add_charges_fixed_tax_amount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
40
add_charges_proportionate_tax_amount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
41
total_tax_amount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
42
tds_amount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
43
freight_charges
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
44
add_charges
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
45
sgst_amount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
46
cgst_amount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
47
igst_amount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
48
cess_amount
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
49
payment_status
enum('Pending', 'Paid', 'Partial')
utf8mb4_unicode_ci
No
Pending
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
50
narration
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
51
additional_discount_remarks
longtext
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
52
discount_details
longtext
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
53
receiver_name
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
54
receiver_contact_number
varchar(20)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
55
branch_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
56
user_id
bigint(20)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
57
modified_user_id
bigint(20)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
58
finance_year_id
bigint(20)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
59
delete_status
tinyint(1)
No
0
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
60
is_cancelled
enum('Y', 'N')
utf8mb4_unicode_ci
No
N
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
61
created_at
datetime
No
current_timestamp()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
62
updated_at
datetime
Yes
NULL
ON UPDATE CURRENT_TIMESTAMP()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
63
round_off
decimal(12,2)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
64
total_amount
decimal(12,2)
Yes
NULL
STORED GENERATED
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
65
einvoice_status
enum('PENDING', 'GENERATED', 'CANCELLED')
utf8mb4_unicode_ci
Yes
PENDING
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
66
ewaybill_status
enum('PENDING', 'GENERATED', 'CANCELLED')
utf8mb4_unicode_ci
Yes
PENDING
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
67
posting_status
enum('Pending', 'Posted')
utf8mb4_unicode_ci
Yes
Pending
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
68
decline_reason
longtext
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
69
confirm_reason
longtext
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
Check all
With selected:
Browse
Change
Drop
Primary
Unique
Index
Spatial
Fulltext
Add to central columns
Remove from central columns
Move columns
Move the columns by dragging them up and down.
Preview SQL
Loading…
Error
Print
Propose table structure
Track table
Move columns
Normalise
Add
column(s)
at beginning of table
after id
after voucher_number
after voucher_type_id
after entry_mode
after entry_status
after source_sales_id
after source_proforma_id
after source_quotation_id
after source_delivery_note_id
after source_sales_order_id
after source_subsidy_id
after proforma_status_deleted
after quotation_moved_status_deleted
after delivery_note_type
after sales_channel
after sales_person_id
after voucher_date
after confirm_decline_date
after voucher_time
after due_date
after ledger_id
after order_no
after party_cat_id
after invoice_amount
after price
after after_prim_dis_price
after subsidy_scheme_id
after subsidy_scheme_discount
after pri_discount
after proportionate_discount
after additional_discount
after total_discount
after discount_coupon_code
after applied_discount_category
after applied_discount_category_id
after subsidy_diff_amt
after taxable_amount
after item_tax_amout
after add_charges_fixed_tax_amount
after add_charges_proportionate_tax_amount
after total_tax_amount
after tds_amount
after freight_charges
after add_charges
after sgst_amount
after cgst_amount
after igst_amount
after cess_amount
after payment_status
after narration
after additional_discount_remarks
after discount_details
after receiver_name
after receiver_contact_number
after branch_id
after user_id
after modified_user_id
after finance_year_id
after delete_status
after is_cancelled
after created_at
after updated_at
after round_off
after total_amount
after einvoice_status
after ewaybill_status
after posting_status
after decline_reason
after confirm_reason
Indexes
Loading
Action
Keyname
Type
Unique
Packed
Column
Cardinality
Collation
Null
Comment
Edit
Rename
Drop
PRIMARY
BTREE
Yes
No
id
44
A
No
Edit
Rename
Drop
idx_sales_branch_date
BTREE
No
No
branch_id
2
A
No
voucher_date
22
A
No
Edit
Rename
Drop
idx_sales_salesperson
BTREE
No
No
sales_person_id
2
A
Yes
Edit
Rename
Drop
idx_sales_ledger
BTREE
No
No
ledger_id
44
A
No
Create an index on
columns
Loading
Preview SQL
Loading…
Partitions
No partitioning defined!
Information
Space usage
Data
16.0
KiB
Index
48.0
KiB
Overhead
0
B
Effective
64.0
KiB
Total
64.0
KiB
Optimise table
Row statistics
Format
dynamic
Collation
utf8mb4_unicode_ci
Next autoindex
46
Creation
Apr 14, 2026 at 05:32 PM
Last update
Apr 17, 2026 at 01:47 PM
Last check
Apr 17, 2026 at 01:47 PM