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
Customise 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 `crm_leads`
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id lead_type customer_company contact_person phone whatsapp address city pincode source stage next_followup customer_role next_steps description next_action routed_at auto_routed auto_route_json auto_route_conf handled_by branch_id status created_by created_at updated_at delete_status
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1
1 Sales Lead Surena Traders Raghav +91 94835 00003 +91 94835 00003 Gandhi Bazaar Shivamogga 577201 Promotion Call New 2025-09-12 Owner Send quotation with offer Interested in Arecanut Dehusking Machine SEND_QUOTATION 2025-10-09 06:21:22 1 {"reason": "Customer asked price/quotation", "conf... 0.91 1 1 Active 1 2025-10-09 06:21:22 2025-10-09 06:21:22 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 2
2 Sales Lead Annapoorna Agro Anusha +91 94835 00002 +91 94835 00002 Ameer Mohalla Bhadravathi 577201 Referral Warm 2025-09-11 Purchase Share brochure & price list Needs product catalogue for bulk order SEND_BROCHURE 2025-10-09 06:21:22 1 {"reason": "Brochure/catalogue keywords", "confide... 0.86 2 1 Active 1 2025-10-09 06:21:22 2025-10-09 06:21:22 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 3
3 Sales Lead GreenFields Ravi +91 94835 00003 +91 94835 00003 Sagar Main Road Sagar 577401 Web Hot 2025-09-13 Manager Send quotation with offer Ready to buy; wants discount SEND_QUOTATION 2025-10-09 06:21:22 1 {"reason": "Price/offer mentioned", "confidence": ... 0.89 3 1 Active 1 2025-10-09 06:21:22 2025-10-09 06:21:22 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 4
4 Sales Lead RK Hardware Kiran +91 94835 00004 +91 94835 00004 Tirthahalli Market Tirthahalli 577432 Walk-in Converted 2025-09-13 Owner — Order confirmed (last week) NONE NULL 0 NULL NULL 1 1 Converted 1 2025-10-09 06:21:22 2025-10-09 06:21:22 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 5
5 Service Lead Surena Agro Machines Raghav +91 94835 00007 +91 94835 00007 Vinoba Nagar Shivamogga 577201 Customer Call Pending 2025-09-14 Owner Schedule technician visit Motor not running; requires inspection SITE_VISIT 2025-10-09 06:21:22 1 {"reason": "Inspection/visit requested", "confiden... 0.84 2 1 Active 1 2025-10-09 06:21:22 2025-10-09 06:21:22 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 6
6 Service Lead Rajkamal Traders Manager +91 94835 00008 +91 94835 00008 BH Road Shivamogga 577202 WhatsApp In Progress 2025-09-15 Manager Installation visit Installation scheduled for tomorrow SITE_VISIT 2025-10-09 06:21:22 1 {"reason": "Installation requires visit", "confide... 0.82 3 1 Active 1 2025-10-09 06:21:22 2025-10-09 06:21:22 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 7
7 Service Lead Shree Engineering Works Owner +91 94835 00009 +91 94835 00009 NH-206 Sagar 577401 Walk-in New 2025-09-16 Owner Diagnose on site Warranty claim for sensor unit SITE_VISIT 2025-10-09 06:21:22 1 {"reason": "Warranty repair likely on-site", "conf... 0.80 4 1 Active 1 2025-10-09 06:21:22 2025-10-09 06:21:22 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 8
8 Service Lead ArecaDry Pvt Ltd Manager +91 94835 00010 +91 94835 00010 Vinayaka Extension Tirthahalli 577432 Referral Completed 2025-09-12 Manager — Installation completed successfully NONE NULL 0 NULL NULL 3 1 Closed 1 2025-10-09 06:21:22 2025-10-09 06:21:22 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1001
1001 Sales Lead Surena Traders Raghav +91 94835 00003 +91 94835 00003 Gandhi Bazaar Shivamogga 577201 Promotion Call New 2025-09-12 Owner Send quotation with offer Interested in Arecanut Dehusking Machine SEND_QUOTATION 2025-09-12 09:30:00 1 {"reason": "Price/quotation requested", "confidenc... 0.91 1 1 Active 1 2025-10-09 07:32:01 2025-10-09 07:32:01 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1002
1002 Sales Lead Annapoorna Agro Anusha +91 94835 00002 +91 94835 00002 Ameer Mohalla Bhadravathi 577201 Referral Warm 2025-09-11 Purchase Share brochure & price list Needs product catalogue for bulk order NONE 2025-09-11 09:00:00 1 {"reason": "Brochure/catalog keywords", "confidenc... 0.86 2 1 Active 1 2025-10-09 07:32:01 2025-10-10 09:57:13 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1003
1003 Sales Lead GreenFields Ravi +91 94835 00003 +91 94835 00003 Sagar Main Road Sagar 577401 Web Hot 2025-09-13 Manager Send quotation with offer Ready to buy; wants discount SEND_QUOTATION 2025-09-13 09:15:00 1 {"reason": "Offer/price mentioned", "confidence": ... 0.89 3 1 Active 1 2025-10-09 07:32:01 2025-10-09 07:32:01 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1004
1004 Service Lead Surena Agro Machines Raghav +91 94835 00007 +91 94835 00007 Vinoba Nagar Shivamogga 577201 Customer Call New 2025-09-14 Owner Schedule technician visit Motor not running; requires inspection SITE_VISIT 2025-09-14 09:00:00 1 {"reason": "Inspection requested", "confidence": 0... 0.84 2 1 Active 1 2025-10-09 07:32:01 2025-10-09 07:32:01 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1005
1005 Service Lead Rajkamal Traders Manager +91 94835 00008 +91 94835 00008 BH Road Shivamogga 577202 WhatsApp Technician Assigned 2025-09-15 Manager Installation visit Installation scheduled for tomorrow SITE_VISIT 2025-09-15 09:00:00 1 {"reason": "Installation requires visit", "confide... 0.82 3 1 Active 1 2025-10-09 07:32:01 2025-10-09 07:32:01 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1006
1006 Service Lead Shree Engineering Works Owner +91 94835 00009 +91 94835 00009 NH-206 Sagar 577401 Walk-in New 2025-09-16 Owner Diagnose on site Warranty claim for sensor unit SITE_VISIT 2025-09-16 09:00:00 1 {"reason": "Warranty diagnosis on-site", "confiden... 0.80 4 1 Active 1 2025-10-09 07:32:01 2025-10-09 07:32:01 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1007
1007 Sales Lead fdf fff ffff fdff fdff fdff 577204 Promotion Call New NULL Owner fdff SEND_QUOTATION 2025-10-09 12:27:04 0 NULL NULL 0 1 Active 0 2025-10-09 12:27:04 2025-10-09 12:27:04 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1008
1008 Sales Lead fdsf ffff fdf fff ff fff 577201 Promotion Call New NULL Owner NULL NONE NULL 0 NULL NULL 0 1 Active 0 2025-10-09 12:28:05 2025-10-10 09:47:40 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1009
1009 Service Lead fdfdf fff 999 ffff fdfdf f 572413 New NULL fff NONE NULL 0 NULL NULL 0 1 Active 0 2025-10-09 12:58:02 2025-10-09 12:58:02 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1010
1010 Sales Lead gfjffjdj NULL NULL NULL NULL NULL Promotion Call New NULL Owner NULL NONE NULL 0 NULL NULL 0 1 Active 0 2025-10-10 09:59:31 2025-10-13 13:00:11 0
Edit Edit Copy Copy Delete Delete
DELETE FROM crm_leads WHERE `crm_leads`.`id` = 1011
1011 Sales Lead Dlfjjfd NULL 9999955852 2555522555 fdff Shfkf 558555 Promotion Call New 2025-11-15 Owner dffdf SEND_QUOTATION 2025-10-15 05:03:38 0 NULL NULL 0 1 Active 0 2025-10-13 13:14:29 2025-10-15 05:03:38 0
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