Question : SQL Select Query Against Static table

I need to build a query that selects from table B all records that match one of the customer ids on table A, which is a list of 100 customers.  Table B is big - about 45k records.

I'm looking for an efficent way to build this query.  Any ideas?

Answer : SQL Select Query Against Static table

Select * from TableB LEFT OUTER JOIN TableA
ON customerid.tableA =  customerid.tableB

Random Solutions  
 
programming4us programming4us