我有两个表和以下查询:选择列SQL
table1
---------
table1Id(pk)
fromdate,
todate,
name,
link
table2
--------
table2Id(pk)
url
table1Id(fk)
SELECT @ITEM = table1Id FROM table1
WHERE
table1.FromDate <= @ToDate AND @FromDate <= table1.ToDate
select * from table2 where table1Id [email protected]
是否有可能选择Table1
以及其他领域?
tnx.it很好.. – user415772 2010-08-12 11:44:06