I have a table called txns which has attributes txn_dt,user_id,txn_amt. I would need all users who made txns on both dates 08/15/2016 and 08/30/2016.
Is there any way to get all the users from the table by accessing it only once? Pls share your inputs on this. I know that INTERSECT and INNER JOIN will work but I need to access the table twice. Can I solve this problem by accessing table only once? Thank you so much in advance.