Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
快速的问题,可能很简单。假设我在数据库中有一张表。
PID | Column1 1 | A 2 | B 3 | C 4 | A 5 | A 6 | B
我将如何返回与 Column1 中“A”的外观相关的每个 PID?
$aInColumn1 = {1,4,5};
...或类似的东西。
谢谢您的帮助!
select PID from tableName where Column1 = 'A'