No, You will need to join the tables (or possibly use a function). Have a look at the SQL documentation on joins. Altenatively post the complete table structure(s), and what you wish to achieve and someone can help you construct the syntax.
You can add a select into select, but that select must return ONLY ONE field and ONLY ONE record. As Jamfool (WOW what a nick ) said it is easier to join tables.
I.e. that select is possible:
Code:
SELECT tape,name,
(select TOP 1 Type from table2 ORDER BY Type) AS Type,
(select TOP 1 High from table2 ORDER BY High) AS High
from material
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.