\set aid random(1, 10000)
SELECT field000000000000000000000000000000001,field000000000000000000000000000000002,field000000000000000000000000000000003,field000000000000000000000000000000004,field000000000000000000000000000000005,field000000000000000000000000000000006,field000000000000000000000000000000007,field000000000000000000000000000000008,field000000000000000000000000000000009,field0000000000000000000000000000000010,field0000000000000000000000000000000011,field0000000000000000000000000000000012,field0000000000000000000000000000000013,field0000000000000000000000000000000014,field0000000000000000000000000000000015,field0000000000000000000000000000000016,field0000000000000000000000000000000017,field0000000000000000000000000000000018,field0000000000000000000000000000000019,field0000000000000000000000000000000020,field0000000000000000000000000000000021,field0000000000000000000000000000000022,field0000000000000000000000000000000023,field0000000000000000000000000000000024,field0000000000000000000000000000000025,field0000000000000000000000000000000026,field0000000000000000000000000000000027,field0000000000000000000000000000000028,field0000000000000000000000000000000029,field0000000000000000000000000000000030,field0000000000000000000000000000000031,field0000000000000000000000000000000032,field0000000000000000000000000000000033,field0000000000000000000000000000000034,field0000000000000000000000000000000035,field0000000000000000000000000000000036,field0000000000000000000000000000000037,field0000000000000000000000000000000038,field0000000000000000000000000000000039,field0000000000000000000000000000000040,field0000000000000000000000000000000041,field0000000000000000000000000000000042,field0000000000000000000000000000000043,field0000000000000000000000000000000044,field0000000000000000000000000000000045,field0000000000000000000000000000000046,field0000000000000000000000000000000047,field0000000000000000000000000000000048,field0000000000000000000000000000000049,field0000000000000000000000000000000050,field0000000000000000000000000000000051,field0000000000000000000000000000000052,field0000000000000000000000000000000053,field0000000000000000000000000000000054,field0000000000000000000000000000000055,field0000000000000000000000000000000056,field0000000000000000000000000000000057,field0000000000000000000000000000000058,field0000000000000000000000000000000059,field0000000000000000000000000000000060,field0000000000000000000000000000000061,field0000000000000000000000000000000062,field0000000000000000000000000000000063,field0000000000000000000000000000000064,field0000000000000000000000000000000065,field0000000000000000000000000000000066,field0000000000000000000000000000000067,field0000000000000000000000000000000068,field0000000000000000000000000000000069,field0000000000000000000000000000000070,field0000000000000000000000000000000071,field0000000000000000000000000000000072,field0000000000000000000000000000000073,field0000000000000000000000000000000074,field0000000000000000000000000000000075,field0000000000000000000000000000000076,field0000000000000000000000000000000077,field0000000000000000000000000000000078,field0000000000000000000000000000000079,field0000000000000000000000000000000080,field0000000000000000000000000000000081,field0000000000000000000000000000000082,field0000000000000000000000000000000083,field0000000000000000000000000000000084,field0000000000000000000000000000000085,field0000000000000000000000000000000086,field0000000000000000000000000000000087,field0000000000000000000000000000000088,field0000000000000000000000000000000089,field0000000000000000000000000000000090,field0000000000000000000000000000000091,field0000000000000000000000000000000092,field0000000000000000000000000000000093,field0000000000000000000000000000000094,field0000000000000000000000000000000095,field0000000000000000000000000000000096,field0000000000000000000000000000000097,field0000000000000000000000000000000098,field0000000000000000000000000000000099,field00000000000000000000000000000000100 FROM data_import WHERE aid = :aid;
