Skip to content

Commit

Permalink
Update select_longest_period_of_stay.hql
Browse files Browse the repository at this point in the history
  • Loading branch information
artkostm authored Nov 9, 2018
1 parent 145e2fe commit de7d202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion select_longest_period_of_stay.hql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SELECT
MAX(datediff(h.srch_co, h.srch_ci)) days
FROM hotels h
FROM ${HOTELS_TABLE_NAME} h
WHERE h.srch_adults_cnt = 2 AND h.srch_children_cnt > 0

0 comments on commit de7d202

Please sign in to comment.