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 :
Browse mode
Customize browse mode.
Browse mode
Documentation Use only icons, only text or both. Restore default value
Documentation Use only icons, only text or both. Restore default value
Documentation Whether a user should be displayed a "show all (rows)" button. Restore default value
Documentation Number of rows displayed when browsing a result set. If the result set contains more rows, "Previous" and "Next" links will be shown. Restore default value
Documentation SMART - i.e. descending order for columns of type TIME, DATE, DATETIME and TIMESTAMP, ascending order otherwise. Restore default value
Documentation Highlight row pointed by the mouse cursor. Restore default value
Documentation Highlight selected rows. Restore default value
Documentation Restore default value
Documentation Restore default value
Documentation Repeat the headers every X cells, 0 deactivates this feature. Restore default value
Documentation Maximum number of characters shown in any non-numeric column on browse view. Restore default value
Documentation These are Edit, Copy and Delete links. Restore default value
Documentation Whether to show row links even in the absence of a unique key. Restore default value
Documentation Default sort order for tables with a primary key. Restore default value
Documentation When browsing tables, the sorting of each table is remembered. Restore default value
Documentation For display Options Restore default value
SELECT * FROM `discount_rebate_schemes`
[ Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id scheme_code scheme_name scheme_type calculation_method turnover_basis claim_frequency valid_from valid_to minimum_turnover maximum_turnover target_amount default_discount_rate fixed_discount_amount maximum_discount_amount return_treatment agreement_required invoice_link_required gst_treatment_mode itc_confirmation_required approval_required allow_partial_claim allow_multiple_claims_per_period discount_ledger_id
ledger_details.id - validated by application
priority notes branch_id is_active delete_status created_by updated_by deleted_by deleted_at created_at updated_at discount_basis_mode
TAXABLE_BASE=discount amount is pre-tax; DOCUMENT_…
Edit Edit Copy Copy Delete Delete
DELETE FROM discount_rebate_schemes WHERE `discount_rebate_schemes`.`id` = 1
1 ANNUAL-5 Annual Turnover Discount 5% ANNUAL_DISCOUNT PERCENTAGE TAXABLE_VALUE ANNUAL 2026-04-01 2027-03-31 5000000.00 NULL 10000000.00 5.0000 0.00 500000.00 SUBTRACT_POSTED 1 1 AUTO 1 1 0 0 3028 10 Annual turnover incentive. Agreement and original ... 1 1 0 1 1 NULL NULL 2026-08-20 21:29:26 NULL TAXABLE_BASE
Edit Edit Copy Copy Delete Delete
DELETE FROM discount_rebate_schemes WHERE `discount_rebate_schemes`.`id` = 2
2 VOL-QTR-26 Quarterly Volume Discount VOLUME_DISCOUNT SLAB TAXABLE_VALUE QUARTERLY 2026-04-01 2027-03-31 500000.00 NULL 2000000.00 0.0000 0.00 NULL SUBTRACT_POSTED 0 1 AUTO 1 1 0 0 3028 20 Quarterly turnover-based slab discount. 1 1 0 1 1 NULL NULL 2026-08-20 21:29:27 NULL TAXABLE_BASE
Edit Edit Copy Copy Delete Delete
DELETE FROM discount_rebate_schemes WHERE `discount_rebate_schemes`.`id` = 3
3 EARLYPAY-2 Early Payment Discount 2% EARLY_PAYMENT PERCENTAGE COLLECTION_VALUE MONTHLY 2026-04-01 2027-03-31 0.00 NULL 0.00 2.0000 0.00 100000.00 SUBTRACT_POSTED 0 1 AUTO 1 1 0 0 3028 30 Collection-based early-payment discount. 1 1 0 1 1 NULL NULL 2026-08-20 21:29:28 2026-08-21 00:09:17 DOCUMENT_VALUE
Edit Edit Copy Copy Delete Delete
DELETE FROM discount_rebate_schemes WHERE `discount_rebate_schemes`.`id` = 4
4 COMM-REBATE-15 Commercial Rebate 1.5% COMMERCIAL_REBATE PERCENTAGE TAXABLE_VALUE ON_DEMAND 2026-04-01 2027-03-31 0.00 NULL 0.00 1.5000 0.00 250000.00 SUBTRACT_POSTED 0 1 COMMERCIAL_CREDIT_NOTE 0 1 0 0 3028 40 Commercial rebate sample. GST treatment fixed as C... 1 1 0 1 1 NULL NULL 2026-08-20 21:29:29 NULL TAXABLE_BASE
With selected: With selected:
Query results operations Copy to clipboard Copy to clipboard Export Export Display chart Display chart Create view Create view
Bookmark this SQL query Bookmark this SQL query