暂时用 SQL Server 来模拟了一下。应该可以的。CREATE TABLE #temp (f_idINT,p_idINT);INSERT INTO #temp VALUES(2,1);INSERT INTO #temp VALUES(14,1);INSERT INTO #temp VALUES(16,1);INSERT INTO #temp VALUES(2,2);INSERT INTO #temp VALUES(14,2);INSERT INTO #temp VALUES(2,3);INSERT INTO #temp VALUES(15,3);1.想找到f_id =2 并且还 =14 还 =16 的数据 , 也就是 pid=...
|