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 :
Do a "query by example" (wildcard: "%")
Column Type Collation Operator Value
id int(11)
opd_patient_id int(11) Browse foreign values Browse foreign values
doctor_id int(11)
appointment_id int(11)
treatment_datetime datetime
total_amount decimal(12,2)
total_doctor_commission decimal(10,2)
total_staff_commission decimal(10,2)
payment_method enum('Cash', 'Credit Card', 'Bank Transfer', 'PayPal', 'Loan', 'Other') utf8mb4_general_ci
payment_method_other varchar(100) utf8mb4_general_ci
payment_status enum('Unpaid', 'Partially Paid', 'Paid') utf8mb4_general_ci
invoice_id int(11)
amount_paid decimal(12,2)
notes text utf8mb4_general_ci
created_at timestamp
updated_at timestamp
created_by int(11)
Display order: