Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: SQL pour trouver le premier libre?



Arf!

Désolé, c'est samedi matin:


test2=> select a+1 as id_disponible from nombres where a-1>0 except
select a from nombres  order by id_disponible  limit 1;

 id_disponible
---------------
             4
(1 ligne)

Mieux, non :-)

Cordialement,

-- 
Jean-Paul Argudo



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group