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
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
350
Other Decks in Programming
See All in Programming
Oxlintのカスタムルールの現況
syumai
5
980
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
120
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
180
さぁV100、メモリをお食べ・・・
nilpe
0
130
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
170
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
140
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
OSもどきOS
arkw
0
400
Modding RubyKaigi for Myself
yui_knk
0
870
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
2k
ふつうのFeature Flag実践入門
irof
7
3.5k
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
600
Joys of Absence: A Defence of Solitary Play
codingconduct
1
380
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.6k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Music & Morning Musume
bryan
47
7.2k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
550
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
340
WENDY [Excerpt]
tessaabrams
11
38k
Documentation Writing (for coders)
carmenintech
77
5.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
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