質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,4 +30,10 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
-
上記の場合はpost_idが1 5を抽出したい。
|
33
|
+
上記の場合はpost_idが1 5を抽出したいです。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
select post_id from table where category_id = 3 and category_id = 4;
|
38
|
+
|
39
|
+
とやると何も取得できず、原因はcategory_idが1つの値しかもっていないからだと思うのですが、こう言った場合どのように書けばいいのかご教授ください。
|