search for: roomorreserv

Displaying 1 result from an estimated 1 matches for "roomorreserv".

2006 Jun 01
2
Union all
Hi there. I have two models (and two tables, of course), let''s call them Room and Reserved, with similar fields but with the last one with some extra info, and need to get data from both using a "union all". Let''s think on a hotel where I need to "glue" data to take a snapshot from the occupation like: Room (number,date,ocupied_by)