I have the following tables with their respective data
Table1
+----------+------------+
| IdTabla1 | Velocidad1 |
+----------+------------+
| 1 | 123.51 |
| 2 | 123.55 |
| 3 | 125.23 |
| 4 | 125.87 |
| 5 | 123.50 |
+----------+------------+
Table2
+----------+------------+--------+
| IdTabla2 | Velocidad2 | Estado |
+----------+------------+--------+
| 1 | 123.51 | M |
| 2 | 224.55 | L |
| 3 | 1245.55 | I |
| 4 | 125.87 | U |
| 5 | 123.58 | M |
+----------+------------+--------+
How can I get the speeds of both tables starting, for example, with: '123.5'?
SELECT ta.[Velocidad1], tb.[Estado]
FROM [dbo].[Tabla1] ta
INNER JOIN
[dbo].[Tabla2] lb
ON ta.[Velocidad1] = tb.[Velocidad2] OR ta LIKE CONCAT('%123.5%');