Answer the question
In order to leave comments, you need to log in
How to form the order of requests to get users?
How to generate requests to get users with filtering.
Tables: users, education_session, test_history
select distinct `users`.*, `subdivisions`.`title` as `subdivision_title`, `positions`.`title` as `position_title`
from `users`
left join `subdivisions` on `users`.`subdivision` = `subdivisions`.`id`
left join `positions` on `users`.`position` = `positions`.`id`
where `users`.`role_id` = 0
order by `users`.`full_name` asc limit 25 offset 0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question