2
Alias de subconsulta SQL LEFT JOIN
Estoy ejecutando esta consulta SQL: SELECT wp_woocommerce_order_items.order_id As No_Commande FROM wp_woocommerce_order_items LEFT JOIN ( SELECT meta_value As Prenom FROM wp_postmeta WHERE meta_key = '_shipping_first_name' ) AS a ON wp_woocommerce_order_items.order_id = a.post_id WHERE wp_woocommerce_order_items.order_id =2198 Y me sale este error: # 1054 - Columna desconocida 'a.post_id' en 'cláusula on'. Creo que …