ERROR 1222 (21000): The used SELECT statements have a different number of columns
程序员文章站
2022-11-18 15:02:29
1) ERROR 1222 (21000): The used SELECT statements have a different number of columns :...
1) ERROR 1222 (21000): The used SELECT statements have a different number of columns :
这是因为使用union的两个SQL语句产生的记录的表结构不一致. 必须是结构完全一致的记录集合才可以使用UNION.
以上就是两个表的字段不一样,导致,所以大家可以检查下。
这是因为使用union的两个SQL语句产生的记录的表结构不一致. 必须是结构完全一致的记录集合才可以使用UNION.
以上就是两个表的字段不一样,导致,所以大家可以检查下。
上一篇: 笑话集原创笑话精品展第六十七期
下一篇: 好像没是没什么用啊
推荐阅读
-
ERROR 1222 (21000): The used SELECT statements have a differ_MySQL
-
ERROR 1222 (21000): The used SELECT statements have a differ
-
ERROR 1222 (21000): The used SELECT statements have a different number of columns
-
ERROR 1222 (21000): The used SELECT statements have a different number of columns
-
ERROR 1222 (21000): The used SELECT statements have a different number of column
-
ERROR 1222 (21000): The used SELECT statements have a different number of column
-
ERROR 1222 (21000): The used SELECT statements have a different number of columns
-
ERROR 1222 (21000): The used SELECT statements have a different number of column
-
ERROR 1222 (21000): The used SELECT statements have a different number of columns
-
ERROR 1222 (21000): The used SELECT statements have a different number of column