Skip to content

Instantly share code, notes, and snippets.

@ian29
Created January 25, 2012 15:24
Show Gist options
  • Select an option

  • Save ian29/2043d870a9f8ec0899cb to your computer and use it in GitHub Desktop.

Select an option

Save ian29/2043d870a9f8ec0899cb to your computer and use it in GitHub Desktop.
district join
(select
OGC_FID,
GEOMETRY,
t.stnam,
t.fipst,
t.leanm,
t.leaid,
cast(all_gradrate07 as real) all_gradrate07,
pct_gradrate07,
cast(all_gradrate08 as real) all_gradrate08,
pct_gradrate08,
cast(all_gradrate09 as real) all_gradrate09,
pct_gradrate09,
change,
grade,
all_read04_0910,
all_read08_0910,
all_read12_0910,
all_read04_0809,
all_read08_0809,
all_read12_0809,
all_read04_0708,
all_read08_0708,
all_read12_0708,
all_math04_0910,
all_math08_0910,
all_math12_0910,
all_math04_0809,
all_math08_0809,
all_math12_0809,
all_math04_0708,
all_math08_0708,
all_math12_0708,
e04,
e08,
e12
from tmlea_spatial t
left join ed_data.clean_lea1 c on t.leaid = c.leaid07)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment