我正在使用PDO位置(匿名)占位符查询MySQL数据库。我正试着更新以前增加的课程。当我从一个列表中选择一个课程并对其进行编辑时,我希望在数据库中更新该课程,但它不会。我的服务器环境是Windows10上的"modify-course.php":。require("../includes/config.php");
// query admin table to re
我有课程表,我存储用户的完成状态与'A‘。现在,我想知道有多少A可以从CompletionStatus字段中获得所有记录。CourseRecordIdx User CompletionStatus 1SELECT char_length(CompletionStatus) FROM `course` where CourseRecordIdx = 36
知道如何使用select查询