WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1]
SELECT * FROM mv_ebp_payments WHERE event_id =

Bookings for ""
Ticket
Quantity
Name
Email
Amount
Booking Date
Status
Payment Mode
Payment ID

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND status = 'Completed'' at line 1]
SELECT SUM(amount) as samt FROM mv_ebp_payments WHERE event_id = AND status = 'Completed'