问题标签 [mysql-error-1241]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
1749 浏览

mysql - what is causing error (operands should contain 1 column)

I am trying to set myItemId so that I can use it in the concat query. Everything works fine until I add this row

It then gives me an error of Operand should contain 1 column(s)

Here is the query that I am working with

0 投票
1 回答
2776 浏览

mysql - I am getting the error Operand should contain 1 column(s)

Here is my code that I have and I cannot figure out why the following code returns the error Operand should contain 1 column(s). I know that both queries work independantly of the query I have below. ANy help would be appreciated

0 投票
1 回答
86 浏览

mysql - 我的 sql 操作数应该在我的数据库中包含 1 列

当我执行这个查询

收到错误代码:1241 操作数应包含 1 列

0 投票
1 回答
1603 浏览

mysql - 插入错误代码 1241 操作数应包含 1 列

我正在尝试将数据插入 zone_sig

但我得到了错误:

错误代码 1241。操作数应包含 1 列

表架构:

0 投票
1 回答
517 浏览

mysql - MySQL SP:错误 1241 (21000)

嗨,我尝试使用这个 sp 插入,插入语句为:

SP代码:

但我收到以下错误:

错误 1241 (21000):操作数应包含 1 列

知道如何解决这个问题吗?

0 投票
1 回答
65 浏览

mysql - mysql 操作数应包含 1 列

我有两个名为的表newlabdeadstock它们都在同一个数据库中,我想将 newlab 的一些字段复制到 deadstock 因为我正在使用以下代码

但它给出的操作数应该包含一列错误

0 投票
1 回答
108 浏览

mysql - 意外的操作数应包含 1 列错误

我有一张桌子,曝光,看起来像这样:

该表用于存储历史风险值,预计会包含偶尔的差距。对于给定的 src 和瞬间,我正在尝试在该目标瞬间或小于目标瞬间的最大瞬间选择所有(仪器、结果、瞬间)。下面的 SELECT 语句正是这样做的。

但是,当我尝试在以下查询中指定我希望选择的列时,MySQL 以 ERROR 1241 (21000) 响应:操作数应包含 1 列。我怀疑它混淆了内部和外部查询。

我的 MySQL 版本字符串是:服务器版本:5.5.34-0ubuntu0.13.04.1 (Ubuntu)。

0 投票
3 回答
921 浏览

mysql - 错误消息“操作数应包含 1 列”

我试图为mysql中日期字段的日期范围选择日期和月份部分,它给了我这个错误“操作数应该包含1列”。tablename 是个人日期字段名称是 dob

dob 是日期字段,$fromdate 和 $todate 保存从屏幕输入的日期,例如“2014-04-30”和“2014-06-30”

0 投票
3 回答
13258 浏览

mysql - 操作数应在 java 中包含 1 列

并在 JSP java.sql.sqlexception 中获取以下异常插入操作数应包含 1 列

请帮忙。

0 投票
1 回答
225 浏览

mysql - 操作数应包含 1 列

您好,我尝试运行此查询,但出现此错误

这是代码:

我的错误在哪里?谢谢您的帮助!