select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
| select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
|
select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
| select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
|
select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
| select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
|
select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
| select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
|
select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
| select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
|
select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
| select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
|
select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
| select a11.CITY_ID CITY_ID, max((a11.date + (a11.BALANCE * 0))) WJXBFS1 into #ZZTJY00L903MD00 from CITY_DATE a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) group by a11.CITY_ID select min(a11.WJXBFS1) COMMONDATE into #ZZTJY00L903MD01 from #ZZTJY00L903MD00 a11, LU_CITY a12 where a11.CITY_ID = a12.CITY_ID and a12.COUNTRY_ID in (3, 2) select distinct a12.CITY_ID CITY_ID, a13.date date into #ZZTJY00L903MQ02 from #ZZTJY00L903MD01 a11, LU_CITY a12, LU_DATE a13 where (a11.COMMONDATE = a13.date) select a11.CITY_ID CITY_ID, a13.CITY_DESC CITY_DESC, a11.date date, a11.BALANCE BALANCE from CITY_DATE a11, #ZZTJY00L903MQ02 a12, LU_CITY a13 where a11.CITY_ID = a12.CITY_ID and a11.date = a12.date and a11.CITY_ID = a13.CITY_ID and a13.COUNTRY_ID in (3, 2) IntegerDecimal or Numeric with scale 0DecimalNumericDouble, Float, RealDouble, Float, Real (all are mutually compatible with each other)DateTimestampTimeTimestampCharVarChar (but not NChar or NVarChar)NCharNVarChar (but not Char or VarChar)
|