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 `ledger_postings` ORDER BY `created_at` DESC 
[ Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id posting_date txn_date voucher_id voucher_no voucher_type_id voucher_date ledger_id entry_side dr_amount cr_amount branch_id finance_year_id user_id narration sort_order is_main_row cash_or_bank by_or_to other_details correspondent_ledger_id created_at Descending Ascending 1 updated_at delete_status is_cancelled deleted_by deleted_at
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54784
54784 2026-09-29 NULL 2048 SMG/1814/26-27 8 2026-09-29 2651 DR 115.00 0.00 1 13 1 Receipt 2 0 Bank By N 3090 2026-09-29 17:46:57 2026-09-29 17:46:57 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54781
54781 2026-09-28 NULL 3742 SMG/2671/26-27 1 2026-09-28 4 CR 0.00 129.34 1 13 1 CGST 5 0 Party To Y NULL 2026-09-29 17:46:57 2026-09-29 17:46:57 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54782
54782 2026-09-28 NULL 3742 SMG/2671/26-27 1 2026-09-28 3 0.00 0.25 1 13 1 Round Off 8 0 Party To Y NULL 2026-09-29 17:46:57 2026-09-29 17:46:57 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54783
54783 2026-09-29 2026-09-29 2048 SMG/1814/26-27 8 2026-09-29 3090 CR 0.00 115.00 1 13 1 Receipt 1 1 Party To N 2651 2026-09-29 17:46:57 2026-09-29 17:46:57 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54778
54778 2026-09-28 2026-09-28 3742 SMG/2671/26-27 1 2026-09-28 3090 DR 1696.00 0.00 1 13 1 Sales 1 1 Party By N NULL 2026-09-29 17:46:56 2026-09-29 17:46:56 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54779
54779 2026-09-28 NULL 3742 SMG/2671/26-27 1 2026-09-28 1 CR 0.00 1437.07 1 13 1 Sales Accounts 1 0 Party To Y NULL 2026-09-29 17:46:56 2026-09-29 17:46:56 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54780
54780 2026-09-28 NULL 3742 SMG/2671/26-27 1 2026-09-28 5 CR 0.00 129.34 1 13 1 SGST 4 0 Party To Y NULL 2026-09-29 17:46:56 2026-09-29 17:46:56 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54774
54774 2026-09-29 2026-09-29 485 SMG/0296/26-27 5 2026-09-29 2393 CR 0.00 2950.00 1 13 1 Purchase 1 1 Party To N NULL 2026-09-29 17:17:32 2026-09-29 17:17:32 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54775
54775 2026-09-29 NULL 485 SMG/0296/26-27 5 2026-09-29 2 DR 2500.00 0.00 1 13 1 Purchase Accounts 1 0 Party By Y NULL 2026-09-29 17:17:32 2026-09-29 17:17:32 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54776
54776 2026-09-29 NULL 485 SMG/0296/26-27 5 2026-09-29 5 DR 225.00 0.00 1 13 1 SGST 2 0 Party By Y NULL 2026-09-29 17:17:32 2026-09-29 17:17:32 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54777
54777 2026-09-29 NULL 485 SMG/0296/26-27 5 2026-09-29 4 DR 225.00 0.00 1 13 1 CGST 3 0 Party By Y NULL 2026-09-29 17:17:32 2026-09-29 17:17:32 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54770
54770 2026-09-29 2026-09-29 485 SMG/0296/26-27 5 2026-09-29 2393 CR 0.00 2950.00 1 13 1 Purchase 1 1 Party To N NULL 2026-09-29 17:11:37 2026-09-29 17:17:31 1 N 1 2026-09-29 17:17:31
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54771
54771 2026-09-29 NULL 485 SMG/0296/26-27 5 2026-09-29 2 DR 2500.00 0.00 1 13 1 Purchase Accounts 1 0 Party By Y NULL 2026-09-29 17:11:37 2026-09-29 17:17:31 1 N 1 2026-09-29 17:17:31
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54772
54772 2026-09-29 NULL 485 SMG/0296/26-27 5 2026-09-29 5 DR 225.00 0.00 1 13 1 SGST 2 0 Party By Y NULL 2026-09-29 17:11:37 2026-09-29 17:17:31 1 N 1 2026-09-29 17:17:31
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54773
54773 2026-09-29 NULL 485 SMG/0296/26-27 5 2026-09-29 4 DR 225.00 0.00 1 13 1 CGST 3 0 Party By Y NULL 2026-09-29 17:11:37 2026-09-29 17:17:31 1 N 1 2026-09-29 17:17:31
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54768
54768 2026-09-29 2026-09-29 291 SMG/0256/26-27 9 2026-09-29 588 DR 30.00 0.00 1 13 1 Payment 1 1 Party By N 10 2026-09-29 17:03:52 2026-09-29 17:03:52 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54769
54769 2026-09-29 NULL 291 SMG/0256/26-27 9 2026-09-29 10 CR 0.00 30.00 1 13 1 Payment 2 0 Cash To N 588 2026-09-29 17:03:52 2026-09-29 17:03:52 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54766
54766 2026-09-29 2026-09-29 53 EXP/0049/25-26 39 2026-09-29 588 CR 0.00 109.00 1 13 1 Expense 1 1 Party To N NULL 2026-09-29 17:03:51 2026-09-29 17:03:51 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54767
54767 2026-09-29 NULL 53 EXP/0049/25-26 39 2026-09-29 2 DR 109.00 0.00 1 13 1 Purchase Accounts 1 0 Party By Y NULL 2026-09-29 17:03:51 2026-09-29 17:03:51 0 N NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54763
54763 2026-09-28 NULL 3742 SMG/2671/26-27 1 2026-09-28 3 0.25 0.00 1 13 1 Round Off 8 0 Party By Y NULL 2026-09-29 17:03:43 2026-09-29 17:46:55 1 N 1 2026-09-29 17:46:55
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54764
54764 2026-09-29 2026-09-29 2048 SMG/1814/26-27 8 2026-09-29 3090 CR 0.00 115.00 1 13 1 Receipt 1 1 Party To N 2651 2026-09-29 17:03:43 2026-09-29 17:46:57 1 N 1 2026-09-29 17:46:57
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54765
54765 2026-09-29 NULL 2048 SMG/1814/26-27 8 2026-09-29 2651 DR 115.00 0.00 1 13 1 Receipt 2 0 Bank By N 3090 2026-09-29 17:03:43 2026-09-29 17:46:57 1 N 1 2026-09-29 17:46:57
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54759
54759 2026-09-28 2026-09-28 3742 SMG/2671/26-27 1 2026-09-28 3090 DR 12365.00 0.00 1 13 1 Sales 1 1 Party By N NULL 2026-09-29 17:03:42 2026-09-29 17:46:55 1 N 1 2026-09-29 17:46:55
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54760
54760 2026-09-28 NULL 3742 SMG/2671/26-27 1 2026-09-28 1 CR 0.00 10479.03 1 13 1 Sales Accounts 1 0 Party To Y NULL 2026-09-29 17:03:42 2026-09-29 17:46:55 1 N 1 2026-09-29 17:46:55
Edit Edit Copy Copy Delete Delete
DELETE FROM ledger_postings WHERE `ledger_postings`.`id` = 54761
54761 2026-09-28 NULL 3742 SMG/2671/26-27 1 2026-09-28 5 CR 0.00 943.11 1 13 1 SGST 4 0 Party To Y NULL 2026-09-29 17:03:42 2026-09-29 17:46:55 1 N 1 2026-09-29 17:46:55
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