I'm still trying to join tables and it is not running correctly when I try to run it. Also, the bottom block of input it messed up. I want output to display representing values 1-10. Any help will be appreciated.
SELECT customer_id, cust_first_name
FROM demo_customers
WHERE cust_state= 'VA'
INNER JOIN demo_orders
ON demo_customers.customer_id.cust_first_name=demo_orders.order_id
SELECT order_id
FROM demo_orders
WHERE customer_id= '1'
SELECT order_item_id
FROM demo_order_items
WHERE order_id= '2'
SELECT product_name
FROM demo_product_info
WHERE product_id= <10