mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Post-merge fixes.
This commit is contained in:
@ -457,10 +457,10 @@ drop table t1,t2;
|
||||
CREATE TABLE t1 (
|
||||
html varchar(5) default NULL,
|
||||
rin int(11) default '0',
|
||||
out int(11) default '0'
|
||||
rout int(11) default '0'
|
||||
) TYPE=MyISAM;
|
||||
INSERT INTO t1 VALUES ('1',1,0);
|
||||
SELECT DISTINCT html,SUM(out)/(SUM(rin)+1) as 'prod' FROM t1 GROUP BY rin;
|
||||
SELECT DISTINCT html,SUM(rout)/(SUM(rin)+1) as 'prod' FROM t1 GROUP BY rin;
|
||||
html prod
|
||||
1 0.00
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user