-- generate a simple sql query with 1000 fields ---
select 

column1, column2, column3, column4, column5, column6, column7, column8, column9, column10,
column11, column12, column13, column14, column15, column16, column17, column18, column19, column20,
column21, column22, column23, column24, column25, column26, column27, column28, column29, column30,
column31, column32, column33, column34, column35, column36, column37, column38, column39, column40,
column41, column42, column43, column44, column45, column46, column47, column48, column49, column50,
column51, column52, column53, column54, column55, column56, column57, column58, column59, column60,
column61, column62, column63, column64, column65, column66, column67, column68, column69, column70,
column71, column72, column73, column74, column75, column76, column77, column78, column79, column80,
column81, column82, column83, column84, column85, column86, column87, column88, column89, column90,
column91, column92, column93, column94, column95, column96, column97, column98, column99, column100,
column101, column102, column103, column104, column105, column106, column107, column108, column109, column110,
column111, column112, column113, column114, column115, column116, column117, column118, column119, column120,
column121, column122, column123, column124, column125, column126, column127, column128, column129, column130,
column131, column132, column133, column134, column135, column136, column137, column138, column139, column140,
column141, column142, column143, column144, column145, column146, column147, column148, column149, column150,
column151, column152, column153, column154, column155, column156, column157, column158, column159, column160,
column161, column162, column163, column164, column165, column166, column167, column168, column169, column170,
column171, column172, column173, column174, column175, column176, column177, column178, column179, column180
from table1 join table2 on table1.id = table2.id