Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

How query twice on same column in where clause of sql query

$
0
0


The above data denotes contacts who clicked on particular link.When user click on a link its linkid and contactid will saved to database.

Now from the above data i need contacts who clicked on link id 9 and 10.

i.e the result should be contactids 100011,100229. because these two contacts clicked on links 9 and 10.

How can i write sql query for this?

any idea?


Anwar Shaik




Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>