== MySql问题 ==# Database - 数据库
n*r
1 楼
Hi there,
How to write a query/queries to implement the following:
Step 1: rs = SELECT * FROM name_table
Step 2: SELECT id FROM customer_table WHERE name IN rs
Is there anything in mysql like the "IN" used in Step 2?
Thank you for your help and best wishes,
How to write a query/queries to implement the following:
Step 1: rs = SELECT * FROM name_table
Step 2: SELECT id FROM customer_table WHERE name IN rs
Is there anything in mysql like the "IN" used in Step 2?
Thank you for your help and best wishes,