我不明白为什么我的查询在phpMyAdmin中运行良好,而在我的php脚本中,它给了我一个消息:不能指定目标表以便从子句中更新!update tableA set
Field1 = round(round((select (select br.FieldA from tableB br where tableA.id=br.id
我希望通过选择其status的requisition_id来更改单个订单的status,其中status匹配特定的关键字。但是它不断地向我显示这个错误“您不能为更新指定目标表”FROM子句SET status ='Approved'
WHERE requisition_no IN (SELECT requisition_no FROM order_info
我为MySQL 5.5编写的一些查询不再适用于MySQL 5.7。我不确定是否有配置设置..。以下查询不再有效: Select * From ( Select* from Tablex a where a.StartTime > :Start and a.EndTime <:end ) as DerivedTable1/