select
spc_common,
nta_name, health
from
nyc_2015_tree_census
limit
5
select
spc_common || ' - ' || health as joined
from
nyc_2015_tree_census
limit
5
select
concat(spc_common, ' - ', health)
from
nyc_2015_tree_census
limit
5
select
spc_common,
left(spc_common, 5) as left,
right(spc_common, 3) as right
from
nyc_2015_tree_census
limit
5
select
spc_common,
initcap(spc_common) as titlecase,
upper(spc_common) as uppercase,
lower(spc_common) as lowercase
from
nyc_2015_tree_census
limit
5
select
spc_common,
replace(spc_common, 'locust', ' locust') as new_text
from
nyc_2015_tree_census
limit
5
select
spc_common,
reverse(spc_common) as backwards
from
nyc_2015_tree_census
limit
5
select
spc_common,
length(spc_common) as how_long
from
nyc_2015_tree_census
limit
5
select
spc_common,
split_part(spc_common, ' ', 2) as tree_group
from
nyc_2015_tree_census
limit
5
select
spc_common,
split_part(
replace(spc_common, 'locust', ' locust'),
' ',
2
) as tree_group
from
nyc_2015_tree_census
limit
5