"SQL": "INSERT INTO [|T00385] ( [|F02912], [|F03202] )\r\nSELECT DISTINCTROW [|Q00005].[|F02912], [|Q00005].[|F03202]\r\nFROM [|T00385] RIGHT JOIN [|Q00005] ON ([|T00385].[|F03202] = [|Q00005].[|F03202]) AND ([|T00385].[|F02912] = [|Q00005].[|F02912])\r\nWHERE (([|Q00005].[|F03202]=[forms]![|P00120]![|C01854]) AND ([|T00385].[|F02912] Is Null));"
"SQL": "SELECT DISTINCTROW [|T00406].[|F02862], Sum([|T00406].[|F03292]) AS [|S00037]\r\nFROM [|T00406]\r\nWHERE (([|T00406].[|F02996]>=[forms]![|P00295]![|C02559] And [|T00406].[|F02996]<=[forms]![|P00295]![|C02560]))\r\nGROUP BY [|T00406].[|F02862];"
},
{
"QueryID": 16,
"DatabaseTypeID": 20,
"QueryName": "Часы по проектам",
"SQL": "SELECT DISTINCTROW [|T00409].[|F02862], Sum([|T00409].[|F02304]) AS [|S00038], Sum([|F02304]*[|F03273]) AS [|S00040]\r\nFROM [|T00409]\r\nGROUP BY [|T00409].[|F02862];"