MySQL Forums
Forum List  »  French

Re: Requete sur des périodes
Posted by: Jean Mollin
Date: May 30, 2009 05:23PM

Personnellement, j'aurais plutôt exploré ceci :
SELECT date_debut, date_fin, disponible 
FROM 'matable' 
WHERE
      begdate <= '2009-5-28'
  AND enddate >= '2009-6-3'
  AND disponible = 1

______________________________________________________________
Une question bien formulée, c'est un problème bien compris : ça représente déjà les 3/4 de la réponse ;)

Options: ReplyQuote


Subject
Views
Written By
Posted
6214
May 30, 2009 11:26AM
Re: Requete sur des périodes
3167
May 30, 2009 05:23PM
3424
May 31, 2009 02:24PM
3242
June 01, 2009 04:18AM
3213
June 02, 2009 08:53AM
3289
June 15, 2009 01:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.