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 
			
		
		
		
	* Restructured test suites and added autopilot and extended suites * Updated autopilot with correct branch - develop * Moved setup test case to a 'setup' directory, for consistency * Fixed a path issue * Updated some tests cases to keep up with development Co-authored-by: root <root@rocky8.localdomain>
		
			
				
	
	
		
			12 lines
		
	
	
		
			352 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			352 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| USE ssb1;
 | |
| select sum(lo_extendedprice*lo_discount) as revenue
 | |
| from dateinfo, lineorder				   # changed order
 | |
| where lo_orderdate = d_datekey
 | |
| and d_weeknuminyear = 6
 | |
| and d_year = 1994
 | |
| and lo_orderdate between 19940101 and 19941231		   # added matching predicate
 | |
| and lo_discount between 5 and 7
 | |
| and lo_quantity between 26 and 35;
 | |
| revenue
 | |
| 26232701005.0000
 |