Skip to content

Instantly share code, notes, and snippets.

@poloey
Created November 29, 2017 22:59
Show Gist options
  • Save poloey/6d6cae401ebe957fda2d41e2dffc46fe to your computer and use it in GitHub Desktop.
Save poloey/6d6cae401ebe957fda2d41e2dffc46fe to your computer and use it in GitHub Desktop.
data from 2 table
select people.name as name, city.name as city from people inner
join city where people.id = city.person_id;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment