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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Christina Koch
August 23, 2016
Programming
660
0
Share
Query Live Database
Christina Koch
August 23, 2016
More Decks by Christina Koch
See All by Christina Koch
Data Carpentry SQL Introduction
christinalk
0
1.3k
The Office Hours Data Conundrum
christinalk
0
190
A Different Kind of Carpentry
christinalk
0
200
Best Practices For All
christinalk
0
160
Workshop Development en breve
christinalk
0
120
Software Portability
christinalk
0
330
Software Licenses and Interpreted Languages
christinalk
0
140
Research Computing Taxonomy
christinalk
0
230
HTCondor User Tutorial
christinalk
0
340
Other Decks in Programming
See All in Programming
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
3
350
ルールルルルルRubyの中身の予備知識 ── RubyKaigiの前に予習しなイカ?
ydah
1
210
AIエージェントで業務改善してみた
taku271
0
540
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
110
Road to RubyKaigi: Play Hard(ware)
makicamel
1
380
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
220
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
4
990
t *testing.T は どこからやってくるの?
otakakot
1
700
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
290
Vibe하게 만드는 Flutter GenUI App With ADK , 박제창, BWAI Incheon 2026
itsmedreamwalker
0
550
GitHubCopilotCLIをはじめよう.pdf
htkym
0
210
iOS機能開発のAI環境と起きた変化
ryunakayama
0
190
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
900
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
30 Presentation Tips
portentint
PRO
1
280
The SEO Collaboration Effect
kristinabergwall1
1
430
Tell your own story through comics
letsgokoyo
1
900
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
210
Building AI with AI
inesmontani
PRO
1
910
A Soul's Torment
seathinner
6
2.7k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
340
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
540
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.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