1 | C6E60FAB-0B03-4C2D-B59D-9A0FD2763095 | F98E75D1-423C-4E5F-9894-81FE60D58972 | [null] | [null] | 19712171 | 19712171 | 19691327 | C6E60FAB-0B03-4C2D-B59D-9A0FD2763095 | [null] | [null] | 19712171 | 0 | 2 | 0 | 1993 | Molokini Island - Hawaii’s premier marine preserve | [null] | Ka Lima O Maui | Wailuku, Hawai‘i | [null] | [null] | [null] | 1-144 | [null] | [null] | [null] | [null] | [null] | [null] | [null] | 1993-01-01 00:00:00.000 | 1993-12-31 00:00:00.000 | [null] | [null] | Severns & Fiene-Severns | Severns, Michael & Pauline Fiene-Severns | Ka Lima O Maui,Wailuku, Hawai‘i.: 1-144. | Molokini Island Hawaii’s premier marine preserve | 2601401 | F98E75D1-423C-4E5F-9894-81FE60D58972 | 38 | 2601401 | [null] | 11727 | 2601401 | Molokini Islet | [null] | 1 | [null] | [null] | [null] | molokini.jpg | 20.6308197839 | -156.495891824 | 5 | 11710 | [empty string] | [null] | [null] | [null] | [null] | 20.6303378249 | -156.498810068 | 20.6352175896 | -156.492737547 |
Query: | SELECT lr.ReferenceUUID, lr.LocationUUID, lr.Start_Page, lr.End_Page, ref_pk.PKID, ref_pk.CorrectID, ref_pk.TableID, ref_pk.UUID, ref_pk.LegacyID, ref_pk.LegacyID2,
r.ReferenceID, r.ParentReferenceID, r.ReferenceTypeID, r.LanguageID, r.Year, r.Title, r.SecondaryTitle, r.Publisher, r.PlacePublished, r.Volume, r.NumberVolumes,
r.Number, r.Pages, r.InPages, r.Section, r.Edition, r.DatePublished, r.TypeWork, r.ShortTitle, r.Figures, r.StartDate, r.EndDate, r.URL, r.CheatCitation, r.CheatAuthors,
r.CheatFullAuthors, r.CheatCitationDetails, r.CheatSearchReference, loc_pk.PKID AS Expr1, loc_pk.UUID AS Expr2, loc_pk.FK_TableTypeID, loc_pk.CorrectID AS Expr3,
loc_pk.CheatSearchString, loc_pk.LegacyID AS Expr4, l.PK_LocationID, l.Location_name, l.FK_CountryID, l.Active, l.Abbreviation, l.x_location, l.y_location, l.map_name, l.GeoCoords.Lat as LocationDecimalLatitude, l.GeoCoords.Long as LocationDecimalLongitude, l.Echelon, l.FK_SubordID, l.location_description, l.height, l.width, l.y_rect_coords, l.x_rect_coords, l.SW_Bound_Lat, l.SW_Bound_Long, l.NE_Bound_Lat, l.NE_Bound_Long
FROM Location_join_Reference AS lr INNER JOIN
Taxonomer.dbo.PK AS ref_pk ON lr.ReferenceUUID = ref_pk.UUID INNER JOIN
Taxonomer.dbo.Reference AS r ON ref_pk.PKID = r.ReferenceID INNER JOIN
PK AS loc_pk ON lr.LocationUUID = loc_pk.UUID INNER JOIN
Locations AS l ON l.PK_LocationID = loc_pk.PKID
WHERE lr.ReferenceUUID IS NOT NULL
AND lr.LocationUUID = ?
ORDER BY lr.SortOrder |