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
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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: