请帮助将这两个语句混合为一个语句:
SELECT * FROM inventory WHERE
pro_status='1' or
pro_status='2'
SELECT * FROM inventory WHERE
loca_city= 'tw' or loca_city
= '美国'`
我需要语句 1 的结果来执行语句 2。
//Property Status -0=suspended;1=valid(NORMALl);2=valid(GOOD);3=no/wrong number.
Data Base
ref pro_type loca_city pro_statusRemarks:
00001 Industrial HK 0
00002 Industrial TW 2
00003 Commercial HK 2
00004 Retail TW 0
00005 Others HK 2
00006 Retail HK 2
00007 Others HK 2
00008 Retail USA 2
00009 Retail HK 1
00010 Retail HK 1
00011 Retail TW 2
00012 Retail HK 2
00013 Retail HK 2
00014 Retail HK 2
00015 Retail HK 2
00016 Commercial HK 1
00017 Retail HK 1
00018 Others HK 1
需要结果:
ref pro_type loca_city pro_statusRemarks:
00002 Industrial TW 2
00008 Retail USA 2
00011 Retail TW 2