17 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| TYPE=VIEW
 | |
| query=select `u`.`user_id` AS `user_id`,`u`.`username` AS `username`,`u`.`email` AS `email`,`u`.`is_active` AS `is_active`,`r`.`role_code` AS `role_code`,`r`.`role_name` AS `role_name` from ((`dms`.`users` `u` join `dms`.`user_roles` `ur` on(`ur`.`user_id` = `u`.`user_id`)) join `dms`.`roles` `r` on(`r`.`role_id` = `ur`.`role_id`))
 | |
| md5=af1a26b606b565e4cd1a7fef74e646ba
 | |
| updatable=1
 | |
| algorithm=0
 | |
| definer_user=root
 | |
| definer_host=localhost
 | |
| suid=2
 | |
| with_check_option=0
 | |
| timestamp=0001759220389283098
 | |
| create-version=2
 | |
| source=SELECT u.user_id, u.username, u.email, u.is_active,\n       r.role_code, r.role_name\nFROM users u\nJOIN user_roles ur ON ur.user_id = u.user_id\nJOIN roles r      ON r.role_id  = ur.role_id
 | |
| client_cs_name=utf8mb4
 | |
| connection_cl_name=utf8mb4_general_ci
 | |
| view_body_utf8=select `u`.`user_id` AS `user_id`,`u`.`username` AS `username`,`u`.`email` AS `email`,`u`.`is_active` AS `is_active`,`r`.`role_code` AS `role_code`,`r`.`role_name` AS `role_name` from ((`dms`.`users` `u` join `dms`.`user_roles` `ur` on(`ur`.`user_id` = `u`.`user_id`)) join `dms`.`roles` `r` on(`r`.`role_id` = `ur`.`role_id`))
 | |
| mariadb-version=101114
 |