select question_id,count(question_id) from qestion where question = 1; group by question_id HAVING count(question_id) >=10; select question_id,count(question_id) from qestion where question = 2; group by question_id HAVING count(question_id) >=10;
上記の2つのクエリの結果、question=1,2どちらもカウントが10を超えるものを
取り出したいのですが いい方法ありますでしょうか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。