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
610
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
150
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
260
Software Licenses and Interpreted Languages
christinalk
0
87
Research Computing Taxonomy
christinalk
0
180
HTCondor User Tutorial
christinalk
0
280
Other Decks in Programming
See All in Programming
Ruby on cygwin 2025-02
fd0
0
140
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
270
負債になりにくいCSSをデザイナとつくるには?
fsubal
9
2.4k
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
120
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
110
もう僕は OpenAPI を書きたくない
sgash708
4
1.5k
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
190
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
110
富山発の個人開発サービスで日本中の学校の業務を改善した話
krpk1900
4
380
Amazon Bedrock Multi Agentsを試してきた
tm2
1
280
仕様変更に耐えるための"今の"DRY原則を考える / Rethinking the "Don't repeat yourself" for resilience to specification changes
mkmk884
0
120
Honoをフロントエンドで使う 3つのやり方
yusukebe
7
3.2k
Featured
See All Featured
Designing for humans not robots
tammielis
250
25k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Building Adaptive Systems
keathley
40
2.4k
How to train your dragon (web standard)
notwaldorf
91
5.8k
Code Reviewing Like a Champion
maltzj
521
39k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
YesSQL, Process and Tooling at Scale
rocio
172
14k
For a Future-Friendly Web
brad_frost
176
9.5k
GraphQLとの向き合い方2022年版
quramy
44
13k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
960
It's Worth the Effort
3n
184
28k
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