2012-01-04 2 views

Respuesta

8
SELECT 
    Events.EventName AS EventName, 
    EventsLocation.LocationName AS LocationName 
FROM 
    Events 
    INNER JOIN EventsLocation ON Events.Location=EventsLocation.Location 
(WHERE ...) 
; 
0
Select e.eventname, l.locationname 
From events e 
Left join eventslocation l 
On e.location = l.location 
0
select 
     e.eventName, 
     el.locationName 
    from 
     Events e 
     join EventsLocation el 
      on e.location = el.location 
0

Únete a las tablas:

select e.EventName, l.LocationName 
from Events e 
inner join EventsLocation l on l.Location = e.Location 
0
SELECT E.EventName,EL.LocationName 
FROM dbo.Events E 
INNER JOIN EventsLocation EL 
ON E.Location=EL.Location 
Cuestiones relacionadas