"SELECT hdiqtest_question.RecID FROM hdiqtest_question
WHERE hdiqtest_question.RecID NOT IN (SELECT hdiqtest_records.QuestionID FROM hdiqtest_records WHERE UserName='keen')";
就这样不行么?
WHERE hdiqtest_question.RecID NOT IN (SELECT hdiqtest_records.QuestionID FROM hdiqtest_records WHERE UserName='keen')";
就这样不行么?
mysql里convert是转换编码用的
数字转字符是concat或casthttp://dev.mysql.com/doc/mysql/en/string-comparison-functions.html