The used SELECT statements have a different number of columns
2013-04-20 09:27
507 查看
mysql遇到的问题,
原因:
select a, b, c, d into @a, @b from xxx;
into 后面的字段少了就会报标题的错误
也有其他情况也会遇到这样的错误:
http://www.myhack58.com/Article/html/3/7/2011/29898.htm
http://www.2cto.com/Article/201212/178290.html
总之是select中的参数个数不对
原因:
select a, b, c, d into @a, @b from xxx;
into 后面的字段少了就会报标题的错误
也有其他情况也会遇到这样的错误:
http://www.myhack58.com/Article/html/3/7/2011/29898.htm
http://www.2cto.com/Article/201212/178290.html
总之是select中的参数个数不对
相关文章推荐
- ERROR 1222 (21000): The used SELECT statements have a different number of columns
- sql异常-The used SELECT statements have a different number of columns
- The used SELECT statements have a different number of columns 错误解决
- mysql 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 columns
- sql语句遇到错误: The used SELECT statements have a different number of columns :
- [Err] 1222 - The used SELECT statements have a different number of columns
- UNION关键字报错:ERROR 1222 (21000): The used SELECT statements have a different number of columns
- Nhibernate: Foreign key must have same number of columns as the referenced primary key
- Which of the following are true statements? Select all that apply.
- What are the different kinds of parsers used in XML?
- This is probably a good time to review the order in which SELECT statement clauses are to be specified. Table 10.2 lists all the clauses we have learned thus far, in the order they must be used.
- Reduce the Number of SQL Statements
- python中关于Np.hstack()错误的ValueError: all the input arrays must have same number of dimensions
- Some text formatting may have changed in this file because the maximum number of fonts was exceeded解决办法
- have a better understand of the coordinate used in 3D
- Next select the number of free fifa 16 coins
- Reduce the Number of SQL Statements
- Kettle解析JSON错误,We MUST have the same number of values for all paths,We can not find and data with path [$.