MySQL的查询可以分为交叉联接、内联接、外联接、自然联接、straight_join
下面对于查询的学习,会用到以下四张表:
create table t_commodity_type(
`id` BIGINT(20) not null auto_increment comment '商品类别ID',
`time` TIMESTAMP not null DEFAULT CURRENT_TIMESTAMP comment '入库时间',
MySQL的查询可以分为交叉联接、内联接、外联接、自然联接、straight_join
下面对于查询的学习,会用到以下四张表:
create table t_commodity_type(
`id` BIGINT(20) not null auto_increment comment '商品类别ID',
`time` TIMESTAMP not null DEFAULT CURRENT_TIMESTAMP comment '入库时间',