September 10, 2011

Find person who has visited both cities(Query)

We have table structure as below:



I have inserted some sample data in table.


I want to see person who has visited both cities Delhi and Mumbai.



We can write this query in this way:



That’s It.
Enjoy Learning.

No comments:

Post a Comment