SELECT f.flight_date, l.lesson_date FROM Flight f JOIN lesson l ON f.pilot_idpilot = l.pilot_idpilot WHERE f.flight_date = CURDATE() OR l.lesson_date = CURDATE() AND pilot_idpilot = 7236;Lesson_id | lesson_date | pilot_idpilot | idFlight | fli
在我的代码中,我不能对每个已连接的表进行限制,我总是看到错误: SQLSTATE42000:语法错误或访问冲突: 1064您的SQL语法中有一个错误;检查与MariaDB服务器版本对应的手册,以便在第4行使用接近“products.id=products_images.product_id限制1上的内连接products_images”的正确语法。
SELECT products_images.image as products_image, products_description.name as products_name, products_details.price as produc