diff --git a/AsbCloudDb/UsefulQueries/Add permission to company for cluster.sql b/AsbCloudDb/UsefulQueries/Add permission to company for cluster.sql new file mode 100644 index 00000000..e777397a --- /dev/null +++ b/AsbCloudDb/UsefulQueries/Add permission to company for cluster.sql @@ -0,0 +1,7 @@ +insert into t_relation_company_well (id_well, id_company ) +Select + t_well.id as id_well, + 8 as id_company +from t_well +join t_cluster tc on t_well.id_cluster = tc.id +where tc.caption = 'к85'; \ No newline at end of file