1
SELECT m.marker_id,
2
me.protocol,
3
ml.location_id,
4
linkage_group.lg_name,
5
linkage_group.lg_order,
6
ml."position",
7
ml.confidence_id,
8
ml.subscript,
9
ml.map_version_id,
10
map.map_id,
11
map.parent_1,
12
map.parent_2,
13
map_version.current_version
14
FROM (((((sgn.marker m
15
LEFT JOIN sgn.marker_experiment me USING (marker_id))
16
LEFT JOIN sgn.marker_location ml USING (location_id))
17
LEFT JOIN sgn.map_version USING (map_version_id))
18
LEFT JOIN sgn.map USING (map_id))
19
LEFT JOIN sgn.linkage_group USING (lg_id))
20
WHERE (map_version.current_version = true);