› MySQL 5.5 Community Server
› MySQL 5.6 Community Server
› Percona Configuration Wizard
› XtraBackup 搭建主从复制
Great Sites on MySQL
› Percona
› MySQL Performance Blog
› Severalnines
推荐管理工具
› Sequel Pro
› phpMyAdmin
推荐书目
› MySQL Cookbook
MySQL 相关项目
› MariaDB
› Drizzle
参考文档
› http://mysql-python.sourceforge.net/MySQLdb.html
movq
V2EX  ›  MySQL

为什么 select (select row1 from table1) as row2,当 table1 为空时,结果是 null 而不是空呢?

  •  
  •   movq · Oct 3, 2022 · 2353 views
    This topic created in 1503 days ago, the information mentioned may be changed or developed.

    table1 为空, 所以 row1 为空。为什么select (select row1 from table1) as row2结果是 null 而不是空呢

    1 replies  •  2022-10-03 17:04:11 +08:00
    leonshaw
    leonshaw
    Oct 3, 2022
    1
    这是 scalar subquery
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1868 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 07:32 · PVG 15:32 · LAX 23:32 · JFK 02:32
    ♥ Do have faith in what you're doing.