Sql Project Planning Hackerrank Solution For Python