我试图连接这两个表如何解决1064错误
面临这样的错误数据库出错错误编号:1064
错误:
您有一个您的SQL语法错误;检查 对应于你的MySQL服务器版本正确的语法使用 附近手册“的顺序客户WHERE order.customer_id = customer.customer_id”在 线2
查询:
SELECT order.order_id,order.order_total,
customer.first_name,customer.last_name FROM order, customer WHERE
order.customer_id=customer.customer_id;
文件名:
d:\ XAMPP \ htdocs中\ compulectronix2 \ system \ database \ DB_driver.php行 编号:330
尝试做到这一点从订单INNER JOIN客户ON order.customer_id = customer.customer_id – 2015-04-03 14:20:52
它不工作@Miladinovic – 2015-04-03 14:24:55