I'm just starting to learn SQL and I have a question that may seem simple. Given the following data:
step 1 - project 1
step 2 - project 1
step 3 - project 1
step 1 - project 2
step 2 - project 2
step 1 - project 3
step 1 - project 4
step 2 - project 4
step 3 - project 4
step 4 - project 4
I'm trying to find the last step for each project. I think I should be using a nest SQL statement but I'm not sure of the proper way to do it.