N
N
Nikita2018-02-10 09:53:06
MySQL
Nikita, 2018-02-10 09:53:06

How to download a list of posts by title?

Good afternoon!
I have a slug list of post titles. There are about 2 thousand of them.
Prompt how to construct request for unloading of these posts in other table.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Fedorov, 2018-02-12
@JohnEkler

If I understand the problem correctly, then:

INSERT INTO target_table (slug) (SELECT slug FROM slug_table)

D
Dimonchik, 2018-02-10
@dimonchik2013

select * where slug in (''raz,'dva',...)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question