CREATE TABLE customers (customer_name VARCHAR2, customer_id VARCHAR2)
CREATE TABLE customer_orders (customer_id VARCHAR2, order_status_code VARCHAR2)

Show the names of customers who have both an order in completed status and an order in part status.
SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = 'Completed' INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = 'Part'
SELECT "T1"."customer_name" FROM "customers" "T1" JOIN "customer_orders" "T2" ON "T1"."customer_id" = "T2"."customer_id" AND "T2"."order_status_code" = 'Completed' INTERSECT SELECT "T1"."customer_name" FROM "customers" "T1" JOIN "customer_orders" "T2" ON "T1"."customer_id" = "T2"."customer_id" AND "T2"."order_status_code" = 'Part'