SQL query: Documentation
SELECT jos_hikashop_order.order_number,
jos_hikashop_order.order_created,
jos_hikashop_order.order_invoice_number,
jos_hikashop_order.order_invoice_created,
jos_hikashop_product.product_name,
jos_hikashop_order.order_full_price,
jos_hikashop_order.order_discount_code,
jos_hikashop_order.order_discount_price,
jos_hikashop_order.order_payment_method,
jos_hikashop_order.order_payment_price,
jos_hikashop_order.order_partner_id,
jos_users.name,
jos_hikashop_order.order_partner_price,
jos_hikashop_order.order_partner_paid
FROM jos_hikashop_order_product
LEFT JOIN jos_hikashop_order
ON jos_hikashop_order.order_id = jos_hikashop_order_product.order_id
LEFT JOIN jos_hikashop_product
ON jos_hikashop_order_product.order_product_id = jos_hikashop_product.product_id
LEFT JOIN jos_hikashop_user
ON jos_hikashop_order.order_partner_id = jos_hikashop_user.user_partner_id LIMIT 0, 25
MySQL said: Documentation
#1054 - Unknown column 'jos_users.name' in 'field list'