Question: What is the customer id for that complaint? | Do you mean the customer id for the complaint which raised at 2007-10-14 21:50:43? | Correct. What is the customer id for the complaint raised at 2007-10-14 21:50:43?
SQL: SELECT customer_id from complaints where date_complaint_raised  = '2007-10-14 21:50:43'