<prompt> Kutoa meza mbili: Amri na Wateja.Kujenga SQL query kupata orodha ya wateja ambao kununuliwa bidhaa zaidi ya 500.  <response>: Heres a sample SQL query that can be used to retrieve a list of customers who purchased items over 500 from the given tables, Orders and Customers:SQLSELECT Customers.name, Customers.emailFROM CustomersINNER JOIN OrdersON Customers.id Orders.customer_idWHERE Orders.total 500GROUP BY Customers.idThis query first joins the two tables, Orders and Customers, on the common field customer_id using INNER JOIN. Then it filters the data using the WHERE clause to include only those rows where the order total is greater than 500. Finally, it uses the GROUP BY clause and selects the name and email columns of the customers to return the final list of customers who made a purchase of over 500. 