 1e2e43a96e
			
		
	
	1e2e43a96e
	
	
	
		
			
			The test uses a uses_function type rule to restrict access to the name and address columns.
		
			
				
	
	
		
			6 lines
		
	
	
		
			189 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			189 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| DROP TABLE IF EXISTS t1;
 | |
| CREATE TABLE t1 (name int, address int, email int);
 | |
| INSERT INTO t1 VALUES (1, 1, 1);
 | |
| SELECT name, address, email FROM t1;
 | |
| SELECT name, address, SUM(email) FROM t1;
 |