carino
Member
This is big favor to ask ...
I have asked if there was a built-in method to export user list to Excel, and received answer that it might be easier to write an SQL query and save it to run whenever I want a listing. But, I am not very savvy with writing SQL statements.
Hoping an SQL guru could look at what I would like and help me with the SQL syntax ...
Two tables I would like to join ...

Fields to retrieve from xf_user

If anyone can help me, I will buy you a cup of coffee or cold beer ... your choice.
Thanks,
Steve
				
			I have asked if there was a built-in method to export user list to Excel, and received answer that it might be easier to write an SQL query and save it to run whenever I want a listing. But, I am not very savvy with writing SQL statements.
Hoping an SQL guru could look at what I would like and help me with the SQL syntax ...
Two tables I would like to join ...
- xf_user
- xf_user_field_value

Fields to retrieve from xf_user
- user_id
- username
- user_state
- user_id
- field_value ... where field_id is ...
 a) address
 b) firstname
 c) lastname
 d) city
 e) state

If anyone can help me, I will buy you a cup of coffee or cold beer ... your choice.
Thanks,
Steve
 
 
		 
 
		



 
 
		 
 
		