Design Table & Search Question

Поиск
Список
Период
Сортировка
От Gabriel Laet
Тема Design Table & Search Question
Дата
Msg-id 1180551544.139880.271180@g4g2000hsf.googlegroups.com
обсуждение исходный текст
Ответы Re: Design Table & Search Question  (Michael Glaesemann <grzm@seespotcode.net>)
Re: Design Table & Search Question  ("Ian Harding" <harding.ian@gmail.com>)
Список pgsql-general
Hi,

I'm developing an application where basically I need to store cars.
Every car has a Make and Model association. Right now, I have three
tables: MAKE, MODEL (make_id) and CAR (model_id).

1) I'm not sure if I need or not to include "make_id" to the CAR
table. To me, it's clear to associate just the Model. Am I right?

2) I'm thinking in the best way to search content. I'll need to search
data across multiple-tables, and I'm not sure about the best way to do
that. Should I use TSearch2 or just a bunch of LIKEs and JOINs
statements?

I appreciate any help :)
Thanks!


В списке pgsql-general по дате отправления:

Предыдущее
От: "Zhan Deng"
Дата:
Сообщение: Problems with createdb.exe and createuser.exe
Следующее
От: "Vang"
Дата:
Сообщение: current transaction is aborted, commands ignored until end of transaction block