Skip to main content

Result Driver Constructor

[dbo.resultDriverConstructor]

Column nameKeyData typeAllow NULLsDefaultDescription
resultDriverConstructorIDPrimary KeyINT IDENTITY
resultIDPK_resultDriverConstructor_resultID (dbo.results resultId)INT
driverIDPK_resultDriverConstructor_driverID (dbo.drivers driverId)INT
constructorIDPK_resultDriverConstructor_constructorID (dbo.constructors constructorId)INT

Table Relationships

Result Driver Constructor

Where Used

Where is this table referenced and what columns are used? The below table shows that information.

Example Query

SELECT 

rdc.resultID,
rdc.DriverID,
d.forename,
d.surname,
rdc.ConstructorID,
c.name as [constructor]

FROM
[dbo].[resultDriverConstructor] rdc

INNER JOIN [dbo].[results] r
ON rdc.resultID = r.resultId

INNER JOIN [dbo].[drivers] d
ON d.driverId = rdc.driverId

INNER JOIN [dbo].[constructors] c
ON c.constructorId = rdc.constructorID

Example Output

resultDriverConstructorIDresultIDdriverIDconstructorID
1111
2222