Recent
`sgm_crm_schema_backup_20260919`.`discount_rebate_claims`
`sgm_crm`.`final_ledger_balance_del`
`sgm_crm`.`ledger_shipping_details`
`aiskgl`.`attendance_login_details`
`sgm_crm`.`attendance_monthly_periods`
`aiskgl`.`z_dashboard_flashcard_wishes`
`edbroad_ai_sumanth`.`hr_performance_reviews`
`edbroad_ai_sumanth`.`timetable_teacher_leave`
`aiskgl`.`institution_units`
`sgm_crm_schema_backup_20260919`.`employee_tracking_commands`
Favorites
There are no favorite tables.
New
aiskgl
competitive_exam
competitive_exam
competitive_exam_qa
edbroad
ai
edbroad_ai
edbroad_ai_sumanth
edbroad_phonepe_standard
fee_fay_india
fee_fay_india_legacy_fee_audit
fee_fay_india_master
fee_fay_india_tenant_000001
information_schema
mysql
omr
omr_platform
omr_web
performance_schema
phpmyadmin
rajkamal_crm
rajkamal_crm
rajkamal_crm_schema_backup_20260919
scoobyai
sgm_crm
sgm_crm
sgm_crm_schema_backup_20260919
sgm_crm_test
surena
crm
surena_crm
surena_crm_control
support
surena_support
surena_support_sjcebt
test
whatsapp_platform
Navigation panel
Navigation tree
Servers
Databases
Tables
Navigation panel
Customize 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.
Favorite tables
Maximum number of favorite tables; set 0 to disable.
Navigation panel width
Set to 0 to collapse navigation panel.
Navigation tree
Customize 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: sgm_crm_schema_backup_20260919
Table: discount_rebate_claims
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
discount_rebate_claims
#
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
claim_no
varchar(60)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
3
claim_sequence_no
smallint(5)
UNSIGNED
No
1
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
4
idempotency_key
varchar(64)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
5
scheme_id
bigint(20)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
6
agreement_id
bigint(20)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
7
ledger_id
bigint(20)
UNSIGNED
No
None
ledger_details.id - validated by application
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
8
period_from
date
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
9
period_to
date
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
10
turnover_basis
enum('TAXABLE_VALUE', 'NET_INVOICE_VALUE', 'COLLEC...
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
11
gross_sales_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
12
sales_return_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
13
eligible_turnover_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
14
collection_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
15
target_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
16
achievement_percent
decimal(9,4)
No
0.0000
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
17
applicable_discount_rate
decimal(9,4)
No
0.0000
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
18
fixed_discount_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
19
discount_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
20
cgst_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
21
sgst_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
22
igst_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
23
cess_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
24
round_off
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
25
gross_credit_amount
decimal(18,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
26
document_type
enum('UNDECIDED', 'GST_CREDIT_NOTE', 'COMMERCIAL_C...
utf8mb4_unicode_ci
No
UNDECIDED
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
27
agreement_pre_supply
enum('Y', 'N', 'NA')
utf8mb4_unicode_ci
No
NA
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
28
invoice_link_confirmed
enum('Y', 'N', 'NA')
utf8mb4_unicode_ci
No
NA
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
29
taxable_value_reduction
enum('Y', 'N', 'NA')
utf8mb4_unicode_ci
No
NA
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
30
itc_reversal_required
enum('Y', 'N', 'NA')
utf8mb4_unicode_ci
No
NA
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
31
decision_reason
varchar(500)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
32
status
enum('DRAFT', 'CALCULATED', 'SUBMITTED', 'APPROVAL...
utf8mb4_unicode_ci
No
DRAFT
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
33
calculation_version
int(10)
UNSIGNED
No
1
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
34
row_version
int(10)
UNSIGNED
No
1
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
35
source_snapshot_hash
char(64)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
36
snapshot_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
37
credit_note_entry_id
bigint(20)
UNSIGNED
Yes
NULL
discount_credit_note_entries.id
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
38
credit_note_voucher_no
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
39
branch_id
int(10)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
40
finance_year_id
int(10)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
41
created_by
int(10)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
42
updated_by
int(10)
UNSIGNED
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
43
submitted_by
int(10)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
44
approved_by
int(10)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
45
posted_by
int(10)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
46
rejected_by
int(10)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
47
reversed_by
int(10)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
48
submitted_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
49
approved_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
50
posted_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
51
rejected_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
52
reversed_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
53
rejection_reason
varchar(500)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
54
reversal_reason
varchar(500)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
55
delete_status
tinyint(1)
No
0
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
56
deleted_by
int(10)
UNSIGNED
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
57
deleted_at
datetime
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
58
created_at
datetime
No
current_timestamp()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
59
updated_at
datetime
Yes
NULL
ON UPDATE CURRENT_TIMESTAMP()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
60
discount_basis_mode
enum('TAXABLE_BASE', 'DOCUMENT_VALUE')
utf8mb4_unicode_ci
No
TAXABLE_BASE
Snapshot of scheme discount basis at calculation time
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
61
discount_base_amount
decimal(18,2)
No
0.00
Server-calculated amount on which scheme rate/fixed/slab was applied
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
62
discount_amount_semantics
enum('TAXABLE_DISCOUNT', 'GROSS_CREDIT')
utf8mb4_unicode_ci
No
TAXABLE_DISCOUNT
Meaning of discount_amount for this immutable calculation snapshot
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
63
taxable_discount_amount
decimal(18,2)
No
0.00
Pre-tax discount represented by tax allocation snapshot
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
64
allocation_engine
varchar(60)
utf8mb4_unicode_ci
No
STEP_5_BASIS_GST_SNAPSHOT_V1
Allocation engine/version used to create the snapshot
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
Normalize
Add
column(s)
at beginning of table
after id
after claim_no
after claim_sequence_no
after idempotency_key
after scheme_id
after agreement_id
after ledger_id
after period_from
after period_to
after turnover_basis
after gross_sales_amount
after sales_return_amount
after eligible_turnover_amount
after collection_amount
after target_amount
after achievement_percent
after applicable_discount_rate
after fixed_discount_amount
after discount_amount
after cgst_amount
after sgst_amount
after igst_amount
after cess_amount
after round_off
after gross_credit_amount
after document_type
after agreement_pre_supply
after invoice_link_confirmed
after taxable_value_reduction
after itc_reversal_required
after decision_reason
after status
after calculation_version
after row_version
after source_snapshot_hash
after snapshot_at
after credit_note_entry_id
after credit_note_voucher_no
after branch_id
after finance_year_id
after created_by
after updated_by
after submitted_by
after approved_by
after posted_by
after rejected_by
after reversed_by
after submitted_at
after approved_at
after posted_at
after rejected_at
after reversed_at
after rejection_reason
after reversal_reason
after delete_status
after deleted_by
after deleted_at
after created_at
after updated_at
after discount_basis_mode
after discount_base_amount
after discount_amount_semantics
after taxable_discount_amount
after allocation_engine
Indexes
Loading
Action
Keyname
Type
Unique
Packed
Column
Cardinality
Collation
Null
Comment
Edit
Rename
Drop
PRIMARY
BTREE
Yes
No
id
0
A
No
Edit
Rename
Drop
uq_drc_period_seq
BTREE
Yes
No
branch_id
0
A
No
scheme_id
0
A
No
ledger_id
0
A
No
period_from
0
A
No
period_to
0
A
No
claim_sequence_no
0
A
No
Edit
Rename
Drop
uq_drc_claim_no
BTREE
Yes
No
branch_id
0
A
No
finance_year_id
0
A
No
claim_no
0
A
Yes
Edit
Rename
Drop
uq_drc_idempotency
BTREE
Yes
No
branch_id
0
A
No
idempotency_key
0
A
Yes
Edit
Rename
Drop
uq_drc_credit_note
BTREE
Yes
No
credit_note_entry_id
0
A
Yes
Edit
Rename
Drop
idx_drc_queue
BTREE
No
No
branch_id
0
A
No
finance_year_id
0
A
No
status
0
A
No
delete_status
0
A
No
created_at
0
A
No
Edit
Rename
Drop
idx_drc_customer_period
BTREE
No
No
branch_id
0
A
No
ledger_id
0
A
No
scheme_id
0
A
No
period_from
0
A
No
period_to
0
A
No
status
0
A
No
delete_status
0
A
No
Edit
Rename
Drop
idx_drc_scheme_status
BTREE
No
No
branch_id
0
A
No
scheme_id
0
A
No
status
0
A
No
delete_status
0
A
No
period_to
0
A
No
Edit
Rename
Drop
idx_drc_posted
BTREE
No
No
branch_id
0
A
No
finance_year_id
0
A
No
posted_at
0
A
Yes
credit_note_entry_id
0
A
Yes
Edit
Rename
Drop
fk_drc_scheme
BTREE
No
No
scheme_id
0
A
No
Edit
Rename
Drop
fk_drc_agreement
BTREE
No
No
agreement_id
0
A
Yes
Create an index on
columns
Loading
Preview SQL
Loading…
Partitions
No partitioning defined!
Information
Space usage
Data
16.0
KiB
Index
160.0
KiB
Overhead
0
B
Effective
176.0
KiB
Total
176.0
KiB
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 08:09 PM
Last check
Sep 29, 2026 at 08:09 PM