mysql 数据库基本操作
2020-09-21 本文已影响0人
const_qiu

- 查询
select * from runoob_tbl
联合查询
select runoob_id,runoob_title,runoob_author from runoob_tbl union select id,name,tel_num from student;
结果:
联合查询结果
两个表的查询的列数一定是相同的,且列名是第一个表中的查询列名。
-
where 条件
where 条件
where+like