Jump to content

Union, Left Join, ????


sdscuba

Recommended Posts

Frustrated newbie..... searched for examples and still have not been able to get the results needed.

 

Basically I have these two tables…..

 

eventbooking_bookings

id, applicant_id, event_id

 

eventbooking_events

id, calendarid, dt

 

I need to select dt when searching for an applicant_id from bookings

where

eventbooking_events.id = eventbooking_bookings.event_id

and

eventbooking_events.dt is greater than today

and

eventbooking_events.calendarid = 1

 

Any help would be greatly appreciated.

 

Greg.

Link to comment
https://forums.phpfreaks.com/topic/263931-union-left-join/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.