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
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
210
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
GitHubCopilotCLIをはじめよう.pdf
htkym
0
290
アーキテクチャモダナイゼーションとは何か
nwiizo
19
5.5k
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
190
How Swift's Type System Guides AI Agents
koher
0
310
Spec-driven Development: How AI Changes Everything (And Nothing)
simas
PRO
0
390
「話せることがない」を乗り越える 〜日常業務から登壇テーマをつくる思考法〜
shoheimitani
4
890
AIを導入する前にやるべきこと
negima
2
290
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
2
130
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
300
Programming with a DJ Controller — not vibe coding
m_seki
3
480
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
230
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
200
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
AI: The stuff that nobody shows you
jnunemaker
PRO
6
600
Become a Pro
speakerdeck
PRO
31
5.9k
Are puppies a ranking factor?
jonoalderson
1
3.3k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
170
Color Theory Basics | Prateek | Gurzu
gurzu
0
300
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
210
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
350
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
340
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