sql >> Database >  >> RDS >> Mysql

eenvoudig draaien van kolommen naar rijen in MySql

select 'A' as title1, a as title2 from table union all
select 'B' as title1, b as title2 from table union all
select 'C' as title1, c as title2 from table union all
select 'D' as title1, d as title2 from table



  1. order by rand() krijgt problemen voor grote berichten

  2. Aanmeldingstriggers in SQL Server

  3. SQLite IS NULL

  4. SQL-rangpercentiel