diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_related_node_uid_from_item b/product/ERP5Catalog/sql/erp5_mysql/z_related_node_uid_from_item
new file mode 100755
index 0000000000000000000000000000000000000000..9b0ed54c5d0e58afffcf369e496782be7592037a
--- /dev/null
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_related_node_uid_from_item
@@ -0,0 +1,11 @@
+<dtml-comment>
+title:
+connection_id:erp5_sql_connection
+max_rows:1000
+max_cache:100
+cache_time:0
+class_name:
+class_file:
+</dtml-comment>
+<params>table_0</params>
+<dtml-var table_0>.uid = item.node_uid
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_related_resource_uid_from_item b/product/ERP5Catalog/sql/erp5_mysql/z_related_resource_uid_from_item
new file mode 100755
index 0000000000000000000000000000000000000000..505df98669890428ea10894515615405e6253e87
--- /dev/null
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_related_resource_uid_from_item
@@ -0,0 +1,11 @@
+<dtml-comment>
+title:
+connection_id:erp5_sql_connection
+max_rows:1000
+max_cache:100
+cache_time:0
+class_name:
+class_file:
+</dtml-comment>
+<params>table_0</params>
+<dtml-var table_0>.uid = item.resource_uid
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_related_section_uid_from_item b/product/ERP5Catalog/sql/erp5_mysql/z_related_section_uid_from_item
new file mode 100755
index 0000000000000000000000000000000000000000..36480c57474e0dd468c53ea81ba63998312fe7ba
--- /dev/null
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_related_section_uid_from_item
@@ -0,0 +1,11 @@
+<dtml-comment>
+title:
+connection_id:erp5_sql_connection
+max_rows:1000
+max_cache:100
+cache_time:0
+class_name:
+class_file:
+</dtml-comment>
+<params>table_0</params>
+<dtml-var table_0>.uid = item.section_uid
\ No newline at end of file