Hello guys, I would like to know if it is possible to insert this query:
SELECT DISTINCT "3001. Dominios"."Selecionar" FROM "3001. Dominios do Paciente", "3001. Dominios", "Datas do Diagnostico" WHERE "3001. Dominios do Paciente"."ID_Dominios" = "3001. Dominios"."ID_Dominios" AND "Datas do Diagnostico"."Data" = "3001. Dominios do Paciente"."Data" AND "Datas do Diagnostico"."IDAnamnese" = "3001. Dominios do Paciente"."IDAnamnese"
In that UPDATE command:
UPDATE "3001. Dominios" SET "Selecionar" = TRUE
Because I want to update the Select (boolean) fields in the “Domains” table according to a specific “Patient”, as well as the Domain contained in the “Patient’s Domain” table and the “Date” for inclusion of those domains.