2009-10-09 10:09:24 +02:00
|
|
|
select 1 + "2 a";
|
|
|
|
1 + "2 a"
|
|
|
|
3
|
|
|
|
Warnings:
|
|
|
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
|
|
|
create table t (a int primary key, b blob default '');
|
|
|
|
select a, (2*a) AS a from t group by a;
|
|
|
|
a a
|
|
|
|
Warnings:
|
2024-07-18 15:20:42 +02:00
|
|
|
Warning 1052 Column 'a' in GROUP BY is ambiguous
|
2009-10-09 10:09:24 +02:00
|
|
|
drop table t;
|
|
|
|
select 1 + "2 a";
|
|
|
|
1 + "2 a"
|
|
|
|
3
|
|
|
|
Warnings:
|
|
|
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
|
|
|
create table t (a int primary key, b blob default '');
|
|
|
|
select a, (2*a) AS a from t group by a;
|
|
|
|
a a
|
|
|
|
Warnings:
|
2024-07-18 15:20:42 +02:00
|
|
|
Warning 1052 Column 'a' in GROUP BY is ambiguous
|
|
|
|
Warning 1052 Column 'a' in GROUP BY is ambiguous
|
2009-10-09 10:09:24 +02:00
|
|
|
drop table t;
|
|
|
|
select 1 + "2 a";
|
|
|
|
1 + "2 a"
|
|
|
|
3
|
|
|
|
Warnings:
|
|
|
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
|
|
|
create table t (a int primary key, b blob default '');
|
|
|
|
select a, (2*a) AS a from t group by a;
|
|
|
|
a a
|
|
|
|
Warnings:
|
2024-07-18 15:20:42 +02:00
|
|
|
Warning 1052 Column 'a' in GROUP BY is ambiguous
|
2009-10-09 10:09:24 +02:00
|
|
|
drop table t;
|