Change "for getting" to "to obtain". I probably wouldn't bother with "valuable". I don't think most people think you would gather statistical information if it wasn't worth it.
Note that you can write "okay" or "OK" but not "ok".
Created SQL queries to collect data on xxxx.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: