-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kitsap_assessors_data_exploration
91 lines (66 loc) · 1.72 KB
/
Kitsap_assessors_data_exploration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
SELECT
count(OBJECTID)
FROM kitsap_2018_parcel_baseyear.buildings_assessor
;
SELECT * FROM kitsap_2018_parcel_baseyear.buildings_assessor LIMIT 1;
SELECT
COUNT(BUILDING_ID)
FROM kitsap_2018_parcel_baseyear.buildings;
select * FROM kitsap_2018_parcel_baseyear.buildings limit 1;
SELECT count(RecID) FROM kitsap_2018_parcel_baseyear.kitsap_dwelling;
SELECT * FROM kitsap_2018_parcel_baseyear.kitsap_dwelling limit 1;
SELECT count(RecID) FROM kitsap_2018_parcel_baseyear.kitsap_commercial_improvement;
SELECT * FROM kitsap_2018_parcel_baseyear.kitsap_commercial_improvement limit 1;
select count(id) from prep_buildings;
select * from prep_buildings limit 1;
select ImprovementDescription
,count(RecID) as records
from kitsap_commercial_improvement group by ImprovementDescription
order by records desc;
select
IMPROV_TYP
,BLDG_TYP
,USE_DESC
,count(objectid) as records
from buildings_assessor
group by
IMPROV_TYP
,BLDG_TYP
,USE_DESC
order by
IMPROV_TYP
,records desc;
select * from buildings_assessor
where USE_DESC = 'Apartments' limit 10;
select *
#from kitsap_dwelling
#from kitsap_commercial_improvement
#from kitsap_valuation
from buildings_assessor
where RP_ACCT_ID = 1040807
#where RealPropertyAccountID = 1040807
;
SELECT *
FROM land
#from main
#where RealPropertyAccountID = 1040807;
where RP_ACCT_ID = 1040807;
limit 10;
SELECT
use_code
,count(building_id) as records
FROM buildings
group by use_code;
select * from buildings
#where use_code = 'Apartments'
where parcel_id = 1040807
;
select * from buildings_assessor where stories = 0;
select
*
#count(RecID)
from kitsap_valuation
where RealPropertyAccountID = 1040807;#limit 10;
;
where LandMarketValue=0;
select * from kitsap_dwelling where RealPropertyAccountID = 1010156;