A query optimizer based using some heuristics.
- Clone the repo
git clone https://github.com/isthatME/Query-optmizer.git
- Install NPM packages
npm install
- Run the project
ng serve
Given the following query
SELECT USUARIO.NOME, USUARIO.CEP,NUMERO FROM USUARIO
JOIN CONTAS
ON CONTAS.USUARIO_IDUSUARIO = USUARIO.IDUSUARIO
WHERE NUMERO > 10 AND BAIRRO = CENTRO ORDER BY BAIRRO, NUMERO, NOME
The result will be