You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-31 18:30:33 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			552 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			552 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| USE tpch1;
 | |
| drop table if exists bug3274;
 | |
| create table bug3274(d2 decimal(4,2), f float);
 | |
| insert into bug3274 values (43.34, 43.345), (13.54, 13.545);
 | |
| select d2, count(*) from bug3274 group by 1 order by 1;
 | |
| d2	count(*)
 | |
| 13.54	1
 | |
| 43.34	1
 | |
| select f, count(*) from bug3274 group by 1 order by 1;
 | |
| f	count(*)
 | |
| 13.545	1
 | |
| 43.345	1
 | |
| select * from (select d2, count(*) from bug3274 group by 1 order by 1) a;
 | |
| d2	count(*)
 | |
| 13.54	1
 | |
| 43.34	1
 | |
| select * from (select f, count(*) from bug3274 group by 1 order by 1) a;
 | |
| f	count(*)
 | |
| 13.545	1
 | |
| 43.345	1
 | |
| drop table if exists bug3274;
 |