Quantcast
Viewing latest article 4
Browse Latest Browse All 11

Modifying SQL Query Logic

I have a table called frequents with 2 columns, drinkers and the bars they frequent. I currently have answered this statement: Drinkers who frequent at least 2 bars With the following query: SELECT DISTINCT drinker FROM frequents f WHERE EXISTS( SELECT drinker FROM frequents y WHERE y.drinker=f.drinker AND f.bar<>y.bar); I am trying to modify this […]

The post Modifying SQL Query Logic appeared first on BlogoSfera.


Viewing latest article 4
Browse Latest Browse All 11

Trending Articles