这是我第一次在mysql中创建存储过程。 它所做的是, first- get count of all records
second- loop through that table 1 by 1
third- compare each entry if it is a duplicate
fourth- insert duplicate in a temporary table
我正在使用查询获取json结果。它的工作正常,但现在我只想在表格引用qu_status = 1的地方取得结果。但我无法使其工作。没有检查上述条件我工作的查询是像下面 $sql = "SELECT q.*,c.au_picture as picture FROM tbl_quotes q INNER JOIN tbl_category c ON q.qu_author=c._auid Order B