У запыце даў старому слупку новае імя праз AS. У выніку назва прыгожая. У самой табліцы ўсё яшчэ дата2. Дык каму я цяпер павінен прынесці торт за перайменаванне?
the output header gets the cake. SELECT date2 AS checked_on doesn't rename date2 in your table. which part were you hoping to change, the incoming workbook or the report that consumes the result?
Si el que importa usa la cabecera nueva, ¿qué le pasa al lector que todavía pide date2 por nombre? Eso te afecta aunque el otro use la tabla sin cambiar el código.