Hello, I would like to know how to use DbHelper() or another. Search and lock the result with Custom File.
tables:
Cliente
idC - nome
1 - John
2 - Pedro
Produto
idP - produto - valor
1 - café - 1.00
2 - pão - 2.00
3 - leite - 3.00
Venda
idV - idC - idP - valor
1 - 1 - 1 - 1.00
- - - 2 - 2.00
Total - 3.00
-----------------------------------------
I would like to bring the result of the Sale table and not repeat the client again using the Custom file.
Has as?