G
G
gitdev2021-01-04 18:44:53
SQL
gitdev, 2021-01-04 18:44:53

How to use WHERE IN as a data filter?

Where in adds results, but you need to filter:

SELECT DISTINCT v.id, v.*, v.english_level
FROM vacancies v
         LEFT JOIN specializations s ON s.id = v.specialization_id
LIMIT 30

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Enj0y, 2021-01-04
@gitdev

WHERE v.id IN (1,2,3,4)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question