sql SELECT auth_user id auth_user username auth_user first_name auth_u

1
2
{'sql': u'SELECT `auth_user`.`id`, `auth_user`.`username`, `auth_user`.`first_name`, `auth_user`.`last_name`, `auth_user`.`email`, `auth_user`.`password`, `auth_user`.`is_staff`, `auth_user`.`is_active`, `auth_user`.`is_superuser`, `auth_user`.`last_login`, `auth_user`.`date_joined`, `accounts_profile`.`user_ptr_id`, `accounts_profile`.`title`, `accounts_profile`.`gender`, `accounts_profile`.`city_id`, `accounts_profile`.`country_id`, `accounts_profile`.`birthday`, `accounts_profile`.`ip`, `accounts_profile`.`messenger`, `accounts_profile`.`messenger_number`, `accounts_profile`.`rank`, `accounts_profile`.`score`, `accounts_profile`.`carma`, `accounts_profile`.`activation_key`, `accounts_profile`.`remind_key`, `accounts_profile`.`posts_counter`, `accounts_profile`.`comments_counter`, `accounts_profile`.`friends_counter`, `accounts_profile`.`pictures_counter`, `accounts_profile`.`pm_counter`, `accounts_profile`.`forum_threads_counter`, `accounts_profile`.`forum_posts_counter` FROM `accounts_profile` INNER JOIN `auth_user` ON (`accounts_profile`.`user_ptr_id` = `auth_user`.`id`) WHERE `accounts_profile`.`user_ptr_id` = 2 ',
'time': '0.001'}