How to give a select and play values in the same column

2

Example:

select 'a' as 'letras', 'b' as 'letras'

I want to play the letter 'a' and the letter 'b' in the column 'letters', but with this code it returns 2 columns with the same name, but I want to play the values in the same column and I do not know how to do this and nor how to search.

    
asked by anonymous 29.03.2018 / 02:18

1 answer

2

An alternative is UNION :

select 'a' as letras

union

select 'b'
    
29.03.2018 / 02:33