fixed join
This commit is contained in:
parent
31e4feb593
commit
1a692a044b
1 changed files with 2 additions and 1 deletions
|
|
@ -46,5 +46,6 @@ from stg_check_in_hero__checkins c
|
|||
inner join int_core__check_in_hero_users chu on c.id_user_partner = chu.id_apim_user
|
||||
left join
|
||||
int_simple_exchange_rates ser
|
||||
on c.reservation_currency = ser.from_currency
|
||||
on chu.currency_code = ser.from_currency
|
||||
and ser.to_currency = 'GBP'
|
||||
and c.created_date_utc = ser.rate_date_utc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue