Inner Join Sql Example Code Plotting Points