Matching up data on different rows

I am new to SQL and I was wondering if there was a way to combine and match the data.

I have a dataset that shows individuals sleep data and I wanted to combine another dataset which is how many steps individuals have taken.

I want to match up the steps taken by the users Id's and Date so that I can see how sleep effected the amount of steps individuals took throughout the day.

This is a SQL Server forum - if your question is about SQL then please provide sample data and expected results. For sample data, we prefer that to be posted as a create/declare for a table with inserts for the sample data.

It would also be helpful if you showed the query and where you are getting stuck.