MySQL Forums
Forum List  »  Italian

Problema SQL
Posted by: goldemish
Date: March 15, 2007 05:12PM

Ciao a tutti,
ho un problema con una query:
Ho due tabelle: STRUTTURE e PRENOTAZIONI
La prima ha dati generali, e la seconda ha un riferimento a id_struttura e due date in unixtime datain e dataout (rispettivamente la data di ingresso e la data di uscita).
Vorrei fare un query che mi trova le strutture libere, che quindi non hanno prenotazioni in un qualsiasi giorno tra le date cercate.
Sembra facile, ma a me non pare....

Grazie

Options: ReplyQuote


Subject
Views
Written By
Posted
Problema SQL
4048
March 15, 2007 05:12PM
2581
March 16, 2007 06:12AM


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.