摘要:
子查询子查询(Subquery)是指出现在其他SQL语句内的LELECT子句。例如: SELECT * FROM t1 WHERE col1 = (SELECT col2 FROM t2); 其中SELECT * FROM t1,称为Outer Query/Outer... 阅读全文
摘要:
数据准备 -- 创建数据表 CREATE TABLE IF NOT EXISTS tdb_goods( goods_id SMALLINT UNSIGNED PRIMARY KEY AUTO_INCREMENT, goods_name VA... 阅读全文