Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 21st, 2018
111
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
SELECT user_id, product_id
FROM yourdata
WHERE product_id = 12
GROUP BY user_id, product_id
HAVING COUNT(*) = COUNT(CASE WHEN positive = 1 THEN 1 END)
HAVING MIN(positive) = 1
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
PowerShell | 13 min ago | 55.80 KB
×͜×DIG PANDIT ONLINE 亗
Lua | 17 min ago | 4.78 KB
to je nejlepsi minimax good s T
Python | 17 min ago | 10.20 KB
Untitled
PHP | 17 min ago | 0.58 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 19 min ago | 0.38 KB
6502 Math Macros
6502 ACME Cross Assembler | 26 min ago | 2.18 KB
6502 Particle System
6502 TASM/64TASS | 33 min ago | 8.59 KB
Untitled
C++ | 36 min ago | 1.62 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!