Home > Backend Development > PHP Tutorial > 关于Thinkphp中SQL话语

关于Thinkphp中SQL话语

WBOY
Release: 2016-06-13 12:46:54
Original
807 people have browsed it

关于Thinkphp中SQL语句
Thinkphp中如果想将另一个表中的数据插入到另一表应该怎么写SQL语句

insert into tupian2(id,title,logo) select id,title,logo from tupian where id='$id'

换成 Thinkphp中的形式 要如何写?
 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template