If you have an array of ids of one table and you have to get a column say ‘id’ from the tableabc
by these ids.
So it’s possible to get them with one query without making many many queries to DB or making a super long query.
You probably need to do something like:
1 2 3 |
SELECT b.* FROM bids b WHERE id IN (SELECT bid_id FROM table1); |