I have application with 2 columns viz. city, category. I want to fit this in hypertable.
There is also id which I would like to add as ROW.
create table ads (city, category);
insert into ads values ("1", "city:mumbai", "1");
insert into ads values ("1", "category:cars", "1");
insert into ads values ("2", "city:pune", "1");
insert into ads values ("2", "category:bikes", "1");
My question is how do I fetch rows where city = mumbai which should fetch 2 rows of ROW = 1.
So suppose I would make similar query in MySQL..
select * from ads where city = "mumbai";
I will get 1 row having category=cars, city=mumbai and id=1..How can same be achived in hypertable query?
Thanks.