• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
oooooolr
You can do anything but not everything. ——David Allen
博客园    首页    新随笔    联系   管理    订阅  订阅
04 2019 档案
SQL kaggle learn : WHERE AND

摘要:WHERE trip_start_timestamp Between '2017-01-01' And '2017-07-01' and trip_seconds > 0 and trip_miles > 0 WHERE trip_start_timestamp > '2017-01-01' and trip_start_timestamp 0 AND trip_miles > 0 ... 阅读全文
posted @ 2019-04-04 16:49 oooooolr 阅读(188) 评论(0) 推荐(0)
SQL kaggle learn with as excercise

摘要:rides_per_year_query = """ SELECT EXTRACT(YEAR FROM trip_start_timestamp) AS year ,COUNT(unique_key) AS num_trips FROM `bigquery-public-data.chicago_taxi_trips.taxi_trips` GROUP BY year ORDER BY year... 阅读全文
posted @ 2019-04-04 11:37 oooooolr 阅读(175) 评论(0) 推荐(0)
SQL count(1)

摘要:If you are ever unsure what to put inside a COUNT() aggregation, you can do COUNT(1) to count the rows in each group. Most people find it especially r 阅读全文
posted @ 2019-04-02 20:58 oooooolr 阅读(261) 评论(0) 推荐(0)
sql where 里面判定要加 ' '

摘要:WHERE year>=2010 and year<=2017 and indicator_code = 'SE.XPD.TOTL.GD.ZS' 阅读全文
posted @ 2019-04-02 20:09 oooooolr 阅读(232) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3