6. What did we do?
SQL Honki-‐‑‒Juku
Honki (本気) = serious
Juku(塾) = class
Study
Exercise Practice
7. Curriculum
Week
Content
#
of
Home
Work
1
select/from/where/limit/count()/sum()
5
2
order
by/group
by/between/concat()/as
5
3
indent/as/join
5
4
comment/in/having/case/like/group_concat()
5
5
sub
query/unix
Dme/bit
operaDon
5
6
index/data
warehouse
5
Home Work example
Q. Count # of new paying students by day. (Jan.1 to 10, 2016)
A.
select
date,
count(*)
from
xxx
where
date
between
‘2016-‐01-‐01’
and
‘2016-‐01-‐10’
group
by
date
8. Curriculum
Week
Content
#
of
Home
Work
1
select/from/where/limit/count()/sum()
5
2
order
by/group
by/between/concat()/as
5
3
indent/as/join
5
4
comment/in/having/case/like/group_concat()
5
5
sub
query/unix
Dme/bit
operaDon
5
6
index/data
warehouse
5
Not following chapter order
of SQL introduction books.
1. create database
2. create table
3. insert
4. update
5. delete
Specialize to data extraction
and analysis of RareJob DB.
We need
-‐‑‒ Unix time
-‐‑‒ Bit operation
-‐‑‒ Data warehouse …
9. Using real data
-‐‑‒ They could understand data definition immediately
-‐‑‒ They got interested in the data
* Individual data is masked
Typical data = Boring… Real data = Fun!
11. Result
・Learners acquired much faster than I expected
(Not having engineering skill, but have strong motivation to see data)
・They felt very excited
“This is my first programming!”
“I didnʼ’t know how database looks like until now.”