Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. **id food_1 city_1 food_2 city_2**
  2.  
  3. 1 cake paris cake paris
  4.  
  5. 2 pepsi london pepsi london
  6.  
  7. 3 NULL delhi NULL delhi
  8.  
  9. 4 chicken berlin chicken berlin
  10.  
  11. 5 NULL NULL NULL NULL
  12.  
  13. 6 wine NULL NULL NULL
  14.  
  15. 7 NULL cologne NULL tokyo
  16.  
  17. 8 egg mumbai egg mumbai
  18.  
  19. SELECT
  20. id
  21. FROM food_city
  22. WHERE food_1 <> food_2 OR city_1 <> city_2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement