Question d’entretien chez Amazon

Write an inner join between two tables.

Réponses aux questions d'entretien

Utilisateur anonyme

24 mai 2012

MS-SQL lets assume two tables - City and State each having common column called population here is the join on population field Select * from City Inner join State ON city.population = state.population Done :-)

6

Utilisateur anonyme

17 juin 2012

another answer. select * from table_A a, table_B a where a.population = b.population; pick one old or new school :-)

2

Utilisateur anonyme

24 mai 2012

MS-SQL lets assume two tables - City and State each having common column called population here is the join on population field Select * from City Inner join State ON city.population = state.population Done :-)

1