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
0
600
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.2k
The Office Hours Data Conundrum
christinalk
0
140
A Different Kind of Carpentry
christinalk
0
150
Best Practices For All
christinalk
0
130
Workshop Development en breve
christinalk
0
76
Software Portability
christinalk
0
250
Software Licenses and Interpreted Languages
christinalk
0
86
Research Computing Taxonomy
christinalk
0
180
HTCondor User Tutorial
christinalk
0
270
Other Decks in Programming
See All in Programming
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
130
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
140
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
250
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
240
Androidアプリの One Experience リリース
nein37
0
1.2k
Package Traits
ikesyo
1
210
watsonx.ai Dojo #6 継続的なAIアプリ開発と展開
oniak3ibm
PRO
0
170
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
7
1.4k
良いユニットテストを書こう
mototakatsu
11
3.6k
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
1k
Scaling your build logic
antalmonori
1
100
Featured
See All Featured
Designing for humans not robots
tammielis
250
25k
Documentation Writing (for coders)
carmenintech
67
4.5k
Why Our Code Smells
bkeepers
PRO
335
57k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Fireside Chat
paigeccino
34
3.1k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
Rails Girls Zürich Keynote
gr2m
94
13k
What's in a price? How to price your products and services
michaelherold
244
12k
How STYLIGHT went responsive
nonsquared
96
5.3k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
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