Opening book details…
About this document
SELECT Distinct Users. From Users Inner Join Friends On Users - User - Id Friends - Friend - 1 Where Friends - Friend - 2 1 by m4rtb0y is a document available to read on EtoBox.
- Author
- m4rtb0y
- Language
- EN
Opening book details…
SELECT Distinct Users. From Users Inner Join Friends On Users - User - Id Friends - Friend - 1 Where Friends - Friend - 2 1 by m4rtb0y is a document available to read on EtoBox.
by m4rtb0y
English
This SQL query selects distinct user records from the users table by joining with the friends table on the User_id field and filtering where the Friend_2 field equals 1.