$30 off During Our Annual Pro Sale. View Details »
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
640
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.3k
The Office Hours Data Conundrum
christinalk
0
180
A Different Kind of Carpentry
christinalk
0
180
Best Practices For All
christinalk
0
150
Workshop Development en breve
christinalk
0
98
Software Portability
christinalk
0
310
Software Licenses and Interpreted Languages
christinalk
0
120
Research Computing Taxonomy
christinalk
0
220
HTCondor User Tutorial
christinalk
0
310
Other Decks in Programming
See All in Programming
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
170
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
290
re:Invent 2025 トレンドからみる製品開発への AI Agent 活用
yoskoh
0
350
Basic Architectures
denyspoltorak
0
120
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
4k
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
460
マスタデータ問題、マイクロサービスでどう解くか
kts
0
130
GISエンジニアから見たLINKSデータ
nokonoko1203
0
180
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
150
Cap'n Webについて
yusukebe
0
150
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
280
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
140
Featured
See All Featured
Code Review Best Practice
trishagee
74
19k
Chasing Engaging Ingredients in Design
codingconduct
0
84
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
340
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
510
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
89
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
850
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
0
170
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
110
Rails Girls Zürich Keynote
gr2m
95
14k
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