摘要:
表查询分为两大类 1.联表查询 2.子查询 #建表 create table dep( id int, name varchar(20) ); create table emp1( id int primary key auto_increment, name varchar(20), sex en 阅读全文
摘要:
在mysql中 查询一张表中的记录的时候 书写顺序是: select * from 表名 where name='long' and age ='18'; 但是mysql中的执行顺序是 from 后面加表名 确定你是那张表 where 后面是条件 通过条件 来筛选这表的内容 select 后面是 你 阅读全文