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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Christina Koch
August 23, 2016
Programming
670
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
170
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
360
Other Decks in Programming
See All in Programming
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
180
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.5k
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
990
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.5k
Strategic Design in the Frontend: Moduliths & Micro Frontends @DDDEurope
manfredsteyer
PRO
0
130
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
1
580
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.6k
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
210
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
640
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
180
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
900
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
250
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
330
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
Making the Leap to Tech Lead
cromwellryan
135
9.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
480
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
760
RailsConf 2023
tenderlove
30
1.5k
The SEO Collaboration Effect
kristinabergwall1
1
490
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
290
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
280
Ruling the World: When Life Gets Gamed
codingconduct
0
270
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