Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 14th, 2017
63
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
select *
from (select <columns>,
row_number() over (partition by "это поле" order by "любое поле") rn
from my_table)
where rn = 1
Add Comment
Please,
Sign In
to add comment
Public Pastes
basalt_test.lua
Lua | 5 min ago | 0.90 KB
basalt_test.lua
Lua | 7 min ago | 0.89 KB
basalt_test.lua
Lua | 8 min ago | 0.90 KB
Untitled
FreeBasic | 9 min ago | 0.57 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 18 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 25 min ago | 0.38 KB
clipboard_fix_csv_reset
Python | 1 hour ago | 2.22 KB
Untitled
C++ | 2 hours ago | 1.85 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!