The Posts with Top Payout 史上收入最高的帖子 💰

in #cn7 years ago (edited)

DSC_2651.JPG
天然金块 -拍于美国国家自然博物馆

刚才看 @fundurian帖子里提到了一个收益三万多美元的帖子,于是想到可以用SteemSQL查询一下有史以来收入最高的帖子。

正好昨天看了 @justyy在讲有关收益的问题,我就测试了一下有关帖子收益total_payout_value, curator_payout_value, total_pending_payout_value, pending_payout_value,发现结果完全不靠谱。

我做了些有限的测试,发现

  • total_pending_payout_value永远是零
  • pending_payout_value和(total_payout_value, curator_payout_value)有时前者是0,有时后者是0,完全找不到规律
  • 这几个量值即使不是0跟Steemit显示的收入也经常对不上号

如果把pending_payout_value,total_payout_value,curator_payout_value三个量全部加起来倒是基本和帖子的总收入差不多。反正也不是搞科学研究,差不多就行。就假设这个是帖子的总收入,就可以写代码了。

我用下面这段代码查询收入最高的帖子:

select Top 50
    created, author, (total_payout_value + curator_payout_value + pending_payout_value) as Value, 
    url
from 
    Comments 
where
    title <> ''
order by
    Value desc

全站收入的前五名分别是:

  1. $46,973.86 https://steemit.com/piston/@xeroc/piston-web-first-open-source-steem-gui---searching-for-alpha-testers
  2. $31,543.06 https://steemit.com/beauty/@guerrint/the-first-steemit-makeup-turtorial-bringing-youtubers-to-steemit
  3. $27,037.14 https://steemit.com/money/@steemdrive/sa-s-city-of-durban-to-be-engulfed-by-steem-the-world-to-follow
  4. $25,602.00 https://steemit.com/steemit/@cass/steemit-chat-foss-alternative-to-slack-deployed-with-rocketchat
  5. $22,434.85 https://steemit.com/money/introduceyourself/@jl777/steemit-is-crypto-s-first-mass-market-solution

修改一下代码,查询category是cn的收入前五名是

  1. $2,604.99 https://steemit.com/cn/@teamsteem/this-post-is-going-to-become-the-best-paid-post-today
  2. $1,128.28 https://steemit.com/cn/@anwenbaumeister/a-clarification-on-my-translation-project-and-5-how-to-deal-with-bad-times-in-life-5-tips-to-make-you-feel-better-featuring
  3. $1,014.86 https://steemit.com/cn/@rea/my-adventure-on-the-island-of-crete-day-5
  4. $893.26 https://steemit.com/cn/@abit/steem-v0-12-0
  5. $804.52 https://steemit.com/cn/@rea/my-adventure-on-the-island-of-crete-day-7

再修改程序,查询九月份收入最高的cn贴($350.58)是@ygernhttps://steemit.com/cn/@ygern/chinese-version-of-the-steem-whitepaper-steem

全站九月份收入最高的帖子($784.55)是 https://steemit.com/dtube/@heimindanger/dtube-0-3-this-update-contains-so-many-new-features-i-could-not-find-a-good-title-for-it


SteemSQL系列


游记系列


© Copyright 所有照片与文字皆为 @nationalpark原创。All photos taken by @nationalpark. All rights reserved.

Sort:  

Cn top earning posts沒有sweetsssj不太可能,是要first tag cn?

是的,用的category,所以是first tag=cn。不会写tag是cn的代码。

读取 steemsql 数据的文章标签方法,见 https://steemit.com/cn/@oflyhigh/mssql-json

谢谢,我学习一下

膜拜一下👍

一起膜拜这些人

这才是一帖成名。

那几个价钱高的离谱

park哥开始走技术路线啦

技术是本行:)

谢谢,多贴代码,我在跟着你重温sql。。。

我SQL现学现卖

居然没有我的女神小甜甜的贴子。

我查的是category是cn,就是第一个tag=cn。她可能没有把cn当第一个

应该是

太驚人!!!

疯狂的价格

好險我之前就已經調適的不錯了~~

Coin Marketplace

STEEM 0.19
TRX 0.13
JST 0.029
BTC 64863.39
ETH 3196.40
USDT 1.00
SBD 2.53