SELECT * FROM `books` WHERE books.author = 'kipling' AND books.popularity > 150 AND books.popularity - 150 < 100
$books= DB::table('books')
->where('author ','=', 'kipling')
->where('popularity ','>', 150)...