I have a problem with how to formulate a query to obtain the following: I have a table called TBL_BIT_TIPO_INGRESO where I store the types of economic income when registering some students. It is assumed that by default a text that says "FAMILY" is saved in the field type_income and then another record can be added in case the student obtains another type of income, for example "OWN" or "PROGRAM_GOVERMENT".
But the system that I made example has a failure and when it stores a New student does not keep the record with the default text that he mentioned above but he keeps the other records in case another type is registered Of income. I want to make a query to get those students who do not have records with the text "FAMILY" in the field type_income. In the example of the image would come A4A12, A3B07, A3B20 and A7C25 but I can not do it, can you explain?