SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
Teaching  SQL  to  non  engineers
Tech  Talk  Tokyo  #3  Kohei  Kikuchi
Kohei  Kikuchi
Data  Analysis  /  Recommendation  /  Data  Visualization  &  Reporting
Using  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-‐‑‒Juku
Honki  (本気)  =  serious
Juku(塾)  =  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  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
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  …
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  :)

Mais conteúdo relacionado

Semelhante a Teaching SQL to non engineers

Bsop 326 Enhance teaching - tutorialrank.com
Bsop 326  Enhance teaching - tutorialrank.comBsop 326  Enhance teaching - tutorialrank.com
Bsop 326 Enhance teaching - tutorialrank.comLeoTolstoy37
 
BSOP 326 Effective Communication/tutorialrank.com
 BSOP 326 Effective Communication/tutorialrank.com BSOP 326 Effective Communication/tutorialrank.com
BSOP 326 Effective Communication/tutorialrank.comjonhson255
 
CSE 110 - ASSIGNMENT # 4 – Fall 2015 Due Tuesday Octobe.docx
CSE 110 - ASSIGNMENT # 4 – Fall 2015 Due Tuesday Octobe.docxCSE 110 - ASSIGNMENT # 4 – Fall 2015 Due Tuesday Octobe.docx
CSE 110 - ASSIGNMENT # 4 – Fall 2015 Due Tuesday Octobe.docxfaithxdunce63732
 
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docxCase Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docxwendolynhalbert
 
Running head Project Type Unit 5 Individual Project3Ty.docx
Running head  Project Type Unit 5 Individual Project3Ty.docxRunning head  Project Type Unit 5 Individual Project3Ty.docx
Running head Project Type Unit 5 Individual Project3Ty.docxhealdkathaleen
 
BSOP 326 Expect Success/newtonhelp.com
BSOP 326 Expect Success/newtonhelp.comBSOP 326 Expect Success/newtonhelp.com
BSOP 326 Expect Success/newtonhelp.commyblue35
 
Bsop 330Education Redefined / snaptutorial.com
Bsop 330Education Redefined / snaptutorial.comBsop 330Education Redefined / snaptutorial.com
Bsop 330Education Redefined / snaptutorial.comMcdonaldRyan190
 
Bsop 326 Enhance teaching / snaptutorial.com
Bsop 326  Enhance teaching / snaptutorial.comBsop 326  Enhance teaching / snaptutorial.com
Bsop 326 Enhance teaching / snaptutorial.comStokesCope160
 
BSOP 326 Education Specialist / snaptutorial.com
 BSOP 326 Education Specialist / snaptutorial.com BSOP 326 Education Specialist / snaptutorial.com
BSOP 326 Education Specialist / snaptutorial.comstevesonz119
 
BSOP 326 Exceptional Education - snaptutorial.com
BSOP 326 Exceptional Education - snaptutorial.com BSOP 326 Exceptional Education - snaptutorial.com
BSOP 326 Exceptional Education - snaptutorial.com donaldzs140
 
BSOP 326 Success Begins /newtonhelp.com 
BSOP 326 Success Begins /newtonhelp.com BSOP 326 Success Begins /newtonhelp.com 
BSOP 326 Success Begins /newtonhelp.com myblue117
 
BSOP 326 Education Organization -- snaptutorial.com
BSOP 326   Education Organization -- snaptutorial.comBSOP 326   Education Organization -- snaptutorial.com
BSOP 326 Education Organization -- snaptutorial.comDavisMurphyB63
 
CIS 515 Enhance teaching / snaptutorial.com
CIS 515 Enhance teaching / snaptutorial.com CIS 515 Enhance teaching / snaptutorial.com
CIS 515 Enhance teaching / snaptutorial.com donaldzs56
 
INF 103(ASH) Possible Is Everything/newtonhelp.com
INF 103(ASH) Possible Is Everything/newtonhelp.comINF 103(ASH) Possible Is Everything/newtonhelp.com
INF 103(ASH) Possible Is Everything/newtonhelp.comlechenau71
 
INF 103(ASH) Learn/newtonhelp.com
INF 103(ASH) Learn/newtonhelp.comINF 103(ASH) Learn/newtonhelp.com
INF 103(ASH) Learn/newtonhelp.comlechenau48
 
Production-Ready BIG ML Workflows - from zero to hero
Production-Ready BIG ML Workflows - from zero to heroProduction-Ready BIG ML Workflows - from zero to hero
Production-Ready BIG ML Workflows - from zero to heroDaniel Marcous
 
How to Get Hired by Top Tech Companies
How to Get Hired by Top Tech CompaniesHow to Get Hired by Top Tech Companies
How to Get Hired by Top Tech CompaniesSupasate Choochaisri
 
INF 103 Effective Communication/tutorialrank.com
 INF 103 Effective Communication/tutorialrank.com INF 103 Effective Communication/tutorialrank.com
INF 103 Effective Communication/tutorialrank.comjonhson291
 
CIS 515 Education Organization / snaptutorial.com
CIS 515 Education Organization / snaptutorial.comCIS 515 Education Organization / snaptutorial.com
CIS 515 Education Organization / snaptutorial.comMcdonaldRyan38
 

Semelhante a Teaching SQL to non engineers (20)

Bsop 326 Enhance teaching - tutorialrank.com
Bsop 326  Enhance teaching - tutorialrank.comBsop 326  Enhance teaching - tutorialrank.com
Bsop 326 Enhance teaching - tutorialrank.com
 
BSOP 326 Effective Communication/tutorialrank.com
 BSOP 326 Effective Communication/tutorialrank.com BSOP 326 Effective Communication/tutorialrank.com
BSOP 326 Effective Communication/tutorialrank.com
 
CSE 110 - ASSIGNMENT # 4 – Fall 2015 Due Tuesday Octobe.docx
CSE 110 - ASSIGNMENT # 4 – Fall 2015 Due Tuesday Octobe.docxCSE 110 - ASSIGNMENT # 4 – Fall 2015 Due Tuesday Octobe.docx
CSE 110 - ASSIGNMENT # 4 – Fall 2015 Due Tuesday Octobe.docx
 
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docxCase Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
Case Study Analysis 2The Cholesterol.xls records cholesterol lev.docx
 
Running head Project Type Unit 5 Individual Project3Ty.docx
Running head  Project Type Unit 5 Individual Project3Ty.docxRunning head  Project Type Unit 5 Individual Project3Ty.docx
Running head Project Type Unit 5 Individual Project3Ty.docx
 
BSOP 326 Expect Success/newtonhelp.com
BSOP 326 Expect Success/newtonhelp.comBSOP 326 Expect Success/newtonhelp.com
BSOP 326 Expect Success/newtonhelp.com
 
Bsop 330Education Redefined / snaptutorial.com
Bsop 330Education Redefined / snaptutorial.comBsop 330Education Redefined / snaptutorial.com
Bsop 330Education Redefined / snaptutorial.com
 
Bsop 326 Enhance teaching / snaptutorial.com
Bsop 326  Enhance teaching / snaptutorial.comBsop 326  Enhance teaching / snaptutorial.com
Bsop 326 Enhance teaching / snaptutorial.com
 
BSOP 326 Education Specialist / snaptutorial.com
 BSOP 326 Education Specialist / snaptutorial.com BSOP 326 Education Specialist / snaptutorial.com
BSOP 326 Education Specialist / snaptutorial.com
 
BSOP 326 Exceptional Education - snaptutorial.com
BSOP 326 Exceptional Education - snaptutorial.com BSOP 326 Exceptional Education - snaptutorial.com
BSOP 326 Exceptional Education - snaptutorial.com
 
BSOP 326 Success Begins /newtonhelp.com 
BSOP 326 Success Begins /newtonhelp.com BSOP 326 Success Begins /newtonhelp.com 
BSOP 326 Success Begins /newtonhelp.com 
 
BSOP 326 Education Organization -- snaptutorial.com
BSOP 326   Education Organization -- snaptutorial.comBSOP 326   Education Organization -- snaptutorial.com
BSOP 326 Education Organization -- snaptutorial.com
 
CIS 515 Enhance teaching / snaptutorial.com
CIS 515 Enhance teaching / snaptutorial.com CIS 515 Enhance teaching / snaptutorial.com
CIS 515 Enhance teaching / snaptutorial.com
 
battery pa report.docx
battery pa report.docxbattery pa report.docx
battery pa report.docx
 
INF 103(ASH) Possible Is Everything/newtonhelp.com
INF 103(ASH) Possible Is Everything/newtonhelp.comINF 103(ASH) Possible Is Everything/newtonhelp.com
INF 103(ASH) Possible Is Everything/newtonhelp.com
 
INF 103(ASH) Learn/newtonhelp.com
INF 103(ASH) Learn/newtonhelp.comINF 103(ASH) Learn/newtonhelp.com
INF 103(ASH) Learn/newtonhelp.com
 
Production-Ready BIG ML Workflows - from zero to hero
Production-Ready BIG ML Workflows - from zero to heroProduction-Ready BIG ML Workflows - from zero to hero
Production-Ready BIG ML Workflows - from zero to hero
 
How to Get Hired by Top Tech Companies
How to Get Hired by Top Tech CompaniesHow to Get Hired by Top Tech Companies
How to Get Hired by Top Tech Companies
 
INF 103 Effective Communication/tutorialrank.com
 INF 103 Effective Communication/tutorialrank.com INF 103 Effective Communication/tutorialrank.com
INF 103 Effective Communication/tutorialrank.com
 
CIS 515 Education Organization / snaptutorial.com
CIS 515 Education Organization / snaptutorial.comCIS 515 Education Organization / snaptutorial.com
CIS 515 Education Organization / snaptutorial.com
 

Último

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 

Último (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 

Teaching SQL to non engineers

  • 1. Teaching  SQL  to  non  engineers Tech  Talk  Tokyo  #3  Kohei  Kikuchi
  • 2. Kohei  Kikuchi Data  Analysis  /  Recommendation  /  Data  Visualization  &  Reporting Using  R  /  SQL  etc. RareJob,  Inc.  Data  Scientist
  • 4. Circumstance  -‐‑‒  Problem Planner Marketer CS Data  please!Data  please! Data  please!
  • 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!
  • 10. 9  staffs  joined Planner  (3) Marketer  (2) Accountant  (1) CS  (2) Sales  (1)
  • 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.”
  • 12. Result Begin  to  extract  data  in  everyday  work written  by  a  planner