Quantcast
Channel: BlogoSfera » frequent
Viewing all articles
Browse latest Browse all 11

Modifying SQL Query Logic

$
0
0

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 all articles
Browse latest Browse all 11

Trending Articles