Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT "accounts_userprofile"."id", "accounts_userprofile"."user_id", "accounts_userprofile"."photo", "accounts_userprofile"."unread_pms", "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" FROM "accounts_userprofile" INNER JOIN "auth_user" ON ("accounts_userprofile"."user_id" = "auth_user"."id") WHERE "accounts_userprofile"."user_id" IN (1, 6, 7, 8)
- // takie dla kazdego user id sie generuje
- 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" FROM "auth_user" WHERE "auth_user"."id" = 1
Add Comment
Please, Sign In to add comment