Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. The IDs and durations for all trips of duration greater than 500, ordered by duration:
  2.  
  3. SELECT
  4. trip_id
  5. duration
  6. FROM
  7. trips
  8. WHERE
  9. duration > 500
  10. ORDER BY duration DESC;
  11.  
  12.  
  13. Every column of the stations table for station id 84.
  14.  
  15. SELECT
  16. *
  17. FROM
  18. stations
  19. WHERE
  20. station_id = 84;
  21.  
  22.  
  23. The min temperatures of all the occurrences of rain in zip 94301.
  24.  
  25. SELECT
  26. MinTemperatureF
  27. FROM
  28. weather
  29. WHERE
  30. zip = 94301;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement