yes
select count ( distinct payment_method ) from customers
And can you show me how many customers there are?
select count ( * ) from customers
Can you show me the name of the customer who purchased the least quantity of items?
select t1.customer_name from customers as t1 join customer_orders as t2 on t1.customer_id = t2.customer_id join order_items as t3 on t2.order_id = t3.order_id group by t1.customer_name order by sum ( t3.order_quantity ) limit 1
What payment method did that customer use?
select t1.payment_method from customers as t1 join customer_orders as t2 on t1.customer_id = t2.customer_id join order_items as t3 on t2.order_id = t3.order_id group by t1.customer_name order by sum ( t3.order_quantity ) limit 1
How many items did that customer buy?
select sum ( t3.order_quantity ) from customers as t1 join customer_orders as t2 on t1.customer_id = t2.customer_id join order_items as t3 on t2.order_id = t3.order_id group by t1.customer_name order by sum ( t3.order_quantity ) limit 1