Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Query Live Database
Search
Christina Koch
August 23, 2016
Programming
0
610
Query Live Database
Christina Koch
August 23, 2016
Tweet
Share
More Decks by Christina Koch
See All by Christina Koch
Data Carpentry SQL Introduction
christinalk
0
1.2k
The Office Hours Data Conundrum
christinalk
0
150
A Different Kind of Carpentry
christinalk
0
150
Best Practices For All
christinalk
0
130
Workshop Development en breve
christinalk
0
80
Software Portability
christinalk
0
270
Software Licenses and Interpreted Languages
christinalk
0
89
Research Computing Taxonomy
christinalk
0
190
HTCondor User Tutorial
christinalk
0
290
Other Decks in Programming
See All in Programming
自分のために作ったアプリが、グローバルに使われるまで / Indie App Development Lunch LT
pixyzehn
1
150
データベースエンジニアの仕事を楽にする。PgAssistantの紹介
nnaka2992
9
4.5k
State of Namespace
tagomoris
4
700
CRE Meetup!ユーザー信頼性を支えるエンジニアリング実践例の発表資料です
tmnb
0
630
海外のアプリで見かけたかっこいいTransitionを真似てみる
shogotakasaki
1
160
List とは何か? / PHPerKaigi 2025
meihei3
0
690
AIコードエディタの基盤となるLLMのFlutter性能評価
alquist4121
0
200
「影響が少ない」を自分の目でみてみる
o0h
PRO
2
960
AHC 044 混合整数計画ソルバー解法
kiri8128
0
320
Unlock the Potential of Swift Code Generation
rockname
0
240
gen_statem - OTP's Unsung Hero
whatyouhide
1
190
Going Structural with Named Tuples
bishabosha
0
200
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
119
51k
How to train your dragon (web standard)
notwaldorf
91
6k
BBQ
matthewcrist
88
9.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Statistics for Hackers
jakevdp
798
220k
The Pragmatic Product Professional
lauravandoore
33
6.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
104
19k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Thoughts on Productivity
jonyablonski
69
4.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Music & Morning Musume
bryan
47
6.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
Transcript
QUERIES FOR A LIVE STUDENT DB used in conjunc+on
with www.datacarpentry.org/sql-‐ecology-‐lesson/
Fill out your cards • Name: first name
• Height: in INCHES • Dept (department): close enough (just pick one if you don’t have a home department) • DoC (Dog or Cat): Dog, Cat, Both, Neither, or leave blank
None
SELECT name FROM students
select name,name from StUdEnTs
SELECT name, height FROM students
SELECT name, height*2.54 FROM students
None
SELECT name, dept FROM students WHERE height <= 66
SELECT name, dept FROM students WHERE DoC IN (‘Dog’,
‘Cat’)
SELECT name, height*2.54 FROM students ORDER BY height
SELECT name, height*2.54 FROM students WHERE height >= 68
ORDER BY name DESC
None
SELECT COUNT(*) FROM students
SELECT COUNT(*) FROM students GROUP BY DoC
SELECT MAX(height), MIN(height) FROM students GROUP BY DoC