mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			296 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			296 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# Test of ansi mode
 | 
						|
#
 | 
						|
 | 
						|
drop table if exists t1;
 | 
						|
 | 
						|
# Test some functions that works different in ansi mode
 | 
						|
 | 
						|
SELECT 'A' || 'B';
 | 
						|
 | 
						|
# Test GROUP BY behaviour
 | 
						|
 | 
						|
CREATE TABLE t1 (id INT, id2 int);
 | 
						|
SELECT id,NULL,1,1.1,'a' FROM t1 GROUP BY id;
 | 
						|
--error 1055
 | 
						|
SELECT id FROM t1 GROUP BY id2;
 | 
						|
drop table t1;
 |