WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND STS_ID = 'RWL'' at line 7]SELECT smkc.wp_esp_registration.REG_ID, EVT_ID, STS_ID, REG_date, ATT_fname, ATT_lname, ATT_email, ATT_phone, post_title FROM smkc.wp_esp_registration
inner join smkc.wp_esp_attendee_meta
on smkc.wp_esp_registration.att_id = smkc.wp_esp_attendee_meta.ATT_ID
INNER JOIN smkc.wp_posts
ON smkc.wp_esp_registration.EVT_ID = smkc.wp_posts.ID
where smkc.wp_esp_registration.EVT_ID=
AND STS_ID = 'RWL'
Student Name | Phone |