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
670
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
200
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
150
Research Computing Taxonomy
christinalk
0
240
HTCondor User Tutorial
christinalk
0
350
Other Decks in Programming
See All in Programming
Cloudflare で始める Data Platform
ta93abe
0
210
Are We Really Coding 10× Faster with AI?
kohzas
0
210
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
630
TSKaigi 2026 TypeScriptバックエンドのオブザーバビリティ戦略 — Datadog × NestJSの実践
taiseiyamamotoan
1
120
iOS26時代の新規アプリ開発
yuukiw00w
0
180
Modding RubyKaigi for Myself
yui_knk
0
390
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
510
AIエージェントの隔離技術の徹底比較
kawayu
0
390
20260514_its_the_context_window_stupid.pdf
heita
0
1.1k
Agent Skills を社内で育てる仕組み作り
jackchuka
1
2.3k
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
220
Moments When Things Go Wrong
aurimas
3
100
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Un-Boring Meetings
codingconduct
0
290
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
170
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
220
Six Lessons from altMBA
skipperchong
29
4.2k
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
[SF Ruby Conf 2025] Rails X
palkan
2
1k
It's Worth the Effort
3n
188
29k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Faster Mobile Websites
deanohume
310
31k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
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