Help with get results from sql
Posted: Wed Jul 07, 2010 2:16 pm
hi guys, i have 2 tables
# 1 - tb_cars (id, id_make, id_model, year, picture)
# 2 - tb_cars_make (id, name, picture)
exemple i have 15 makes on my tb_cars_make
and i have 5 cars on my tb_cars
my while will show only the makes that is used on tb_cars (no repeat)
can somebody help me if someone get my point??
# 1 - tb_cars (id, id_make, id_model, year, picture)
# 2 - tb_cars_make (id, name, picture)
exemple i have 15 makes on my tb_cars_make
and i have 5 cars on my tb_cars
my while will show only the makes that is used on tb_cars (no repeat)
can somebody help me if someone get my point??