I have two tables. t1 and t2. I want to select the values that are from t1 and occurred in t2. What I wrote is the following:
select col1 from t1, t2
where t1.col1y=t2.col2;
Is this is the right way to search for the value ?
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.
Yes, that works, but it’s the old form of writing a join. Use the new form: