Auto Ordering

Поиск
Список
Период
Сортировка
От Shawn T. Walker
Тема Auto Ordering
Дата
Msg-id Pine.LNX.3.95.991027131111.23280B-100000@bigboy.netcrafters.com
обсуждение исходный текст
Ответы Re: [GENERAL] Auto Ordering  (Stuart Rison <rison@biochemistry.ucl.ac.uk>)
Re: [GENERAL] Auto Ordering  ("Aaron J. Seigo" <aaron@gtv.ca>)
Re: [GENERAL] Auto Ordering  ("Aaron J. Seigo" <aaron@gtv.ca>)
Список pgsql-general
Hi All,

I have a table of questions  to be displayed to the user.

Table: questions
question_id SERIAL
page int
order int
question varchar(100)
answers text

The field order is how the questions are sorted.  How can I change change
question 5 to be number one and have all the other questions re-order
themselves?

Thanks in advance.
Shawn

-------
Shawn T. Walker      <--->   shawn@netcrafters.com





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

Предыдущее
От: big.john@bigfoot.com
Дата:
Сообщение: create index on numeric
Следующее
От: Ted Nolan SRI Augusta GA
Дата:
Сообщение: Re: [GENERAL] Windows Server?