请教大家一个条件判断怎么写?帮帮小弟我

请问大家一个条件判断如何写?帮帮我
北京路  
北京西路
北京南路
北京小路
南京西路
上海二路
广州河堤路

数据库'地址'字段中有上面数据,我想用一条sql语句筛选出地址字段中的前两位与条件的前2位相同的结果集合.
如: select * from tb where '地址' =SUBSTRING(北京西路,0,3) 
得到结果:
北京路  
北京西路
北京南路
北京小路



------解决方案--------------------
SQL code

declare @T table (地址 varchar(10))
insert into @T
select '北京路' union all
select '北京西路' union all
select '北京南路' union all
select '北京小路' union all
select '南京西路' union all
select '上海二路' union all
select '广州河堤路'

--是不是这个意思?
declare @p varchar(40) 
set @p='北京西路'

select * from @T where left(地址,2)=left(@p,2)

/*
地址
----------
北京路
北京西路
北京南路
北京小路
*/

------解决方案--------------------
SQL code

declare @Tab table (address varchar(10))
insert into @Tab
select '北京路' union all
select '北京西路' union all
select '北京南路' union all
select '北京小路' union all
select '南京西路' union all
select '上海二路' union all
select '广州河堤路'

select * from  @Tab where SUBSTRING(address,0,2) =SUBSTRING('北京西路',0,2)