-2
I’m creating a page on Apex And I need to create a graph of the reasons that cause the most fines, but a fine can have several reasons. I’m not able to store these reasons so I can generate the graph
CREATE TABLE "MULTA"(
"COD_MULTA" NUMBER(*,0),
"DATA_APLICACAO_MULTA" DATE,
"QNT_PARCELAS" NUMBER(*,0),
"VALOR" FLOAT(2),
"CPF" VARCHAR2(11),
"NOME_MOTIVO" VARCHAR2(1000),
PRIMARY KEY ("COD_MULTA")
USING INDEX ENABLE
)
CREATE TABLE "MOTIVO"(
"COD_MOTIVO" NUMBER(*,0),
"NOME_MOTIVO" VARCHAR2(1000),
PRIMARY KEY ("COD_MOTIVO")
USING INDEX ENABLE
)
Can someone help me with that?
Explain "I am not able to store these reasons", in a quick analysis the model should be FINE---<MOTIVO_MULTA---REASON
– Motta