Good day Gal and welcome to the Microsoft QnA forums
TO_DATE
According to the tag which you selected to use sql-server-general you are using SQL Server, but your query is not in Transact-SQL (The language which SQL Server uses). The function TO_DATE indicate that you are not using SQL Server but Oracle server.
https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions183.htm
The equivalent to the function TO_DATE in SQL Server is using the function CONVERT
https://www.sqlines.com/oracle-to-sql-server/to_date
You should ask the question in relevant forums which discuss Oracle.
how to name my query as a table name
I assume that you want to use a name for the result of the query
This is done using a virtual object named "Common Table Expressions". In Oracle it will look like
WITH
VirtualTbaleName AS (<use your query here>)
SELECT ...
FROM VirtualTbaleName
Check the oracle tutorial for CTE: https://docs.oracle.com/cd/E17952_01/mysql-8.0-en/with.html
I tried doing select ut1,ut2, ut1+ut2
You are using math operator + but remember that this operator can work on numbers and not NULL or strings (unless there is a convert for example).
I suggest that you close this thread (by marking the answer) and move to Oracle forums. This is not related to SQL Server and this forum is for Microsoft products.