D
D
Danil2015-12-29 14:37:30
MySQL
Danil, 2015-12-29 14:37:30

How to organize multiple Select?

There is a DB, in it 50 + records. There is an array of data in it a list of id records (let's say 50). How can I make a select from the database of these records?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2015-12-29
@Veneomin

select * from `table` where `field` in (id1, id2, ... , id50)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question