Jump to content

insert into same table value where post_title begins like apartments


dakasadaka

Recommended Posts

I want to insert into same table value  1 where post_title begins like apartments

 

I came with this :

 

insert into post (post_categorie_id) values (1) SELECT post_id

FROM post

WHERE post_title LIKE '%Apartments'

 

but doesn't work

any help would be nice

tnx,

daka

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.