The data set march flights has all of an airlines flights scheduled for march and flight delays has the corresponding delay information, if it exists. Each flight is identified by both a flight date and a flight number. I want to display flight date, flight number, destination, and length of delay. I'm trying to use an outer join to show all the matching and non matching information and for some reason my code isn't working. any ideas? Heres my code.
Your Syntax on your join is incorrect. Change your comma's to AND.
left join hw2.flightdelays as d on m.flightnumber=d.flightnumber AND m.date=d.date AND m.destination=d.destion
Your Syntax on your join is incorrect. Change your comma's to AND.
left join hw2.flightdelays as d on m.flightnumber=d.flightnumber AND m.date=d.date AND m.destination=d.destion
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: