Hi,
i've a table as defined below
i want to select users who have all these 3 programs (tennis, football, cricket). So when i run the query against the above table only user1 should be in the result. i tried the below query but it doesn't seem to work. Can someone please help out
select userid from table where (program= 'tennis' and program= 'football' and program= 'cricket')
Thanks