How to find database specific data on ionic 3

i’m a newbie and i would like to know how do I filter and receive only the data I want on each page. my db.ts:

getAllProdutos(){

return new Promise<Produto[]>((resolve, reject) => {

let sql = “select * from tb_produto”;
this.executeQuery(sql).then(data => {

let products = [];
data.forEach(function (row) {
  let product: Produto = { id_produto: row[0], nom_produto: row[1], val_produto: row[2] }
  products.push(product);
});
resolve(products);

}).catch(error => {
console.log(error);
});

});

and my HTML

<ion-card *ngFor=“let produto of produtos”>

Product ID: {{produto.id_produto}}

Product Name: {{produto.nom_produto}}

Product Price: {{produto.val_produto}} $


I want to show on each tab of the segment, only the content of it, but it is always showing all in all segments. If someone can help me, thank you very much.

Sorry for english!