14
Teaching SQL to non engineers Tech Talk Tokyo #3 Kohei Kikuchi

Teaching SQL to non engineers

Embed Size (px)

Citation preview

Teaching  SQL  to  non  engineersTech  Talk  Tokyo  #3  Kohei  Kikuchi

Kohei  Kikuchi

Data  Analysis  /  Recommendation  /  Data  Visualization  &  ReportingUsing  R  /  SQL  etc.

RareJob,  Inc.  Data  Scientist

Circumstance

Planner

Marketer

CS

Circumstance  -‐‑‒  Problem

Planner

Marketer

CS

Data  please!Data  please!

Data  please!

To  be…

Planner

Marketer

CS

Select..  From..Select..  From..

Select..  From..

What  did  we  do?

SQL  Honki-‐‑‒JukuHonki  (本気)  =  seriousJuku(塾)  =  class

Study

Exercise Practice

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  exampleQ.  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

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  orderof  SQL  introduction  books.

1.  create  database2.  create  table3.  insert4.  update5.  delete

Specialize  to  data  extraction  and  analysis  of  RareJob  DB.

We  need

-‐‑‒  Unix  time-‐‑‒  Bit  operation-‐‑‒  Data  warehouse  …

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!

9  staffs  joined

Planner  (3)

Marketer  (2)

Accountant  (1)

CS  (2)

Sales  (1)

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.”

Result

Begin  to  extract  data  in  everyday  work

written  by  a  planner

Great!

Thank  you  :)