I have a table in sql called `TagQuestion` which has fields like `id`, `tagId`, `questionId`.

Below is the data present in the table:

```
+---------------------+
|id |tagId |QuestionId|
+---------------------+    
|2  |1     |2         |
|4  |1     |3         |
|6  |2     |3         |
+---------------------+

```

I want questionIds from the table for which `tagId=1` as well as `tagId=2`

I was trying the query as -

```
select * from TagQuestion where (tagId=1 AND tagId=2)

```

But its not returning anything.

Can you please help me out with this