, 13 2019 . 19:08
+
, !
:
- . 5. SELECT COUNT(*) WHERE MonCGentType LIKE '%' AND ReportDate NOT LIKE '%' . MoneyID MonCGentType LIKE '%' AND ReportDate NOT LIKE '%' INSERT, - , INSERT INTO TBL (FIELD1, FIELD2) VALUES ('', (select moneyid from tblmoney where moncgenttype like '%' and reportdate not like '%')) for i = 1 to (select count(*) from tblmoney where moncgenttype like '%' and reportdate not like '%') 5 '' moneyid tblmoney
https://www.sql.ru/forum/1315898/sql-zapros-k-nekotorym-zapisyam