Slexy.org is shutting down and stopped accepting new Pastes on May 4th, 2021.
Existing Pastes will stop being available on or after May 10th, 2021.
Author: Not specified Language: text
Description: Not specified Timestamp: 2017-09-30 19:44:39 +0000
View raw paste Reply
  1. select book.title from users,shelf,book
  2. where users.uid = shelf.uid and book.isbn = shelf.isbn
  3. and shelf.name = "Read"
  4. and (users.name ="User 1" or users.name = "User 2")
  5. group by book.isbn having count(users.uid) = 2;
View raw paste Reply