In MySQL, when we are going to make a SELECT
, we can usually specify each field we want to return.
SELECT id, nome FROM usuarios
However, let's imagine a scenario where I have 50 columns in a table and I did not want the senha
and email
fields to be displayed.
It would be easier to logically specify that I do not want these 2 fields , than to select the remaining 48 fields I want to be displayed
Is there any way to do this in MySQL?