0
I’m having a question. How do I search a given text using ilike to know if this text exists in 3 related tables. ? I tried to exist but it did not give
CREATE TABLE metodo (
id SERIAL NOT NULL,
descricao CHARACTER VARYING NOT NULL
);
CREATE TABLE forma (
id SERIAL NOT NULL,
id_metodo INTEGER,
descricao CHARACTER VARYING NOT NULL
);
CREATE TABLE acao (
id SERIAL NOT NULL,
id_forma INTEGER,
descricao CHARACTER VARYING NOT NULL
);
Show table structure and text fields.
– Clodoaldo Neto
sql
CREATE TABLE metodo ( id SERIAL NOT NULL, Description CHARACTER VARYING NOT NULL ); CREATE TABLE forma ( id SERIAL NOT NULL, id_metodo INTEGER, Description CHARACTER VARYING NOT NULL ); CREATE TABLE acao ( id SERIAL NOT NULL, id_forma INTEGER, Description CHARACTER VARYING NOT NULL );sql
– Paulo Rogerio