Can someone please enlighten me to a way to filter a subquery that is located in a FROM clause?
I would like it to look something like this:
SELECT *
FROM TABLE_A
LEFT JOIN (TOP 8 TABLE_B) ON TABLE_B.id = TABLE_A.id
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please try this:
Considerations:
Do not use * since it would lead to performance constraints.
IF you are concerned about just the ID then get only the ID from Table_B
HTH