1:mysql的内连接: 内连接(inner join):显示左表以及右表符合连接条件的记录: select a.goods_id,a.goods_name,b.cate_name from tdb_goods a,tdb_goods_cate b where a.cate_id = b.cate_id; <==============上下两种写法等价===============> select c.goods_id,c.goods_name,d.cate_name from tdb_goo…