Por supuesto. Hacer
select 'Col1' ColName, Col1 Value from srctable union all
select 'Col2', Col2 from srctable union all
select 'Col3', Col3 from srctable union all
select 'Col4', Col4 from srctable
Por supuesto. Hacer
select 'Col1' ColName, Col1 Value from srctable union all
select 'Col2', Col2 from srctable union all
select 'Col3', Col3 from srctable union all
select 'Col4', Col4 from srctable
Comprensión de interbloqueos en MySQL y PostgreSQL
Aislamiento de instantáneas confirmadas de lectura
Cómo establecer variables de entorno para Laravel 5 en AWS EC2 con MySQL
Cómo generar secuencias de comandos para volver a crear restricciones de clave externa en la base de datos de SQL Server - Tutorial de SQL Server / TSQL, parte 73