Here is my table funcionario:
ID_funcionario nome numero sexo morada email data_nasc
-----------------------------------------------------------------------
1 marcio 1234 male jardim marcio 11/23/2017
2 joel 3333 male bemfica ragy 11/25/2017
I want to select specifically only the nome "marcio" and number 1234.
For example, it should appear like this:
nome numero
----------------
marcio 1234
This is what I tried:
select *
from funcionario
where nome = 'marcio' and numero = '1234';
but that just shows me the whole row like this:
ID_funcionario nome numero sexo morada email data_nasc
----------------------------------------------------------------------
1 marcio 1234 male jardim marcio 11/23/2017