我有兩個表和以下查詢:選擇列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