I have two tables with different columns representing time.
Table 1 contains coordinates for every second from one particular day (March 20, 2022):
time | Coordinates |
---|---|
2022-03-20T09:16:23.000 | x/y |
2022-03-20T09:16:25.000 | x/y |
2022-03-20T09:16:27.000 | x/y |
Table 2 contains number of registered events by time (also from March 20, but we have just time without date and milliseconds):
time | Number of events |
---|---|
09:16:23 | 23 |
09:16:27 | 53 |
I want to join this tables to extract column with coordinates and additional columns for every row from the Table 2. Desired result:
time | Coordinates | Number of events |
---|---|---|
09:16:23 | x/y | 23 |
09:16:27 | x/y | 53 |
How I can do it by using Python or SQL?