4
I have two tables in my BD (mysql), where:
1st Table: CADASTROS
With the following fields: ID, NOME, IDADE, CIDADE
2nd Table: FUNCIONARIO
With the following fields: ID, ID_CADASTRO, PROFISSAO, SALARIO
Performing a query in the table CADASTROS
ordering by NOME
:
SELECT * FROM CADASTROS ORDER BY NOME ASC
How to perform a survey that returns only the existing records in the table CADASTROS
without correspondence with the table FUNCIONARIO
?
Thanks worked 100% here :)
– Hugo Borges