jeudi 2 avril 2015

SQLITE Show values from selected viewtable cell

I have the following tables


Bike Brands (Parent):



id | brand
---------------------
1 | Trek
2 | Salsa


Bike Models (Child)



id | model | brandid
------------------------------------------
1 | Superfly FS | 1
2 | Vaya 3 | 2
3 | Superfly 9 SL | 1
4 | Vaya 7 | 2


I have two UITableViewController. I want to show only bikes from the chosen brand.


I tried different queries inner join but I cant find one that is working.


Aucun commentaire:

Enregistrer un commentaire