ENCONTRAR REGISTROS DE DOCUMENTO

SELECT CASE WHEN ARRAY[ '77612212', '77364273', '77412728', '62946085', '62849162', '62849436', '77548309', '77370704', '77827481', '77413426', '63160512', '77397929', '77362948', '63236904', '63254280', '76717823', '77410912', '77516471', '77512577', '62946807', '77312468', '63305765', '77450199', '77317520', '81236107', '76890499', '77199524', '77446119', '77317575', '62978936', '62945943', '77548616', '77411448', '76901981', '77548306', '62433069', '74520559', '75632806', '62978328', '74794866', '74259329', '62782562', '74666396', '62720724', '76118468', '62539885', '74332003', '62221789', '62523039', '78458674', '75029384', '77836289', '74513940', '75633551', '74271569', '62539836', '74262932', '62642771', '74522975', '62547415', '62544036', '74019020', '61837725', '61906718', '74106520', '74105615', '61912550', '62587377', '74017516', '61982306', '61934162', '73548986', '62547906', '62539726', '62600605', '61837555', '61906654', '61774050', '73407957', '61961507', '62539588', '73555696', '73841262', '61933804', '62544212', '61617551', '61496621', '62049747', '61868104', '61506458', '61528222', '61757665', '72831607', '61516806', '62018792', '61506671', '61464336', '61841251', '61427036', '61516235', '61433350', '62053556', '62978327', '72826829', '62022424', '61773555', '62026333', '62573619', '71673172', '61771248', '61427050', '72067286', '61494386', '62048948', '61932512', '61264802', '70957409', '61206086', '71148505', '61292193', '61091059', '61345285', '61107005', '61142457', '61233921', '74286556', '61332520', '61313203', '70709493', '61091403', '70962628', '71163211', '61264980', '61142430', '61464000', '70700285', '61306676', '61140939', '61306828', '61306865', '61393673', '61233922', '61103606', '61215595', '70707270', '70963441', '60947739', '60898144', '60916151', '60917751', '60942069', '60853649', '60906362', '60851327', '61034300', '60898481', '61092049', '60872436', '61034222', '74956726', '60773601', '70848257', '74208634', '75488737', '71819775', '72452074', '60787996', '75590523', '60776864', '60503977', '74905813', '74391822', '75913775', '72648165', '72704355', '60780119', '74905876', '60798375', '73085212', '60733080', '75887004', '77815087', '75932271', '60786427', '61422735', '72683050', '60941187', '60749212', '73769408', '73863960', '74812034', '60747217', '77704174', '71414155', '72547879', '60780118', '76088830', '74379032', '71074304', '73041037', '61091246', '77209331', '74022068', '72691358', '76919868', '81668070', '70848204', '74743054', '72371956', '76470471', '72493695', '72450208', '71376934', '74434084', '73069444', '75911241', '71427911', '62587419', '74906788', '72973978', '70797256', '74622657', '71972419', '71834319', '72025724', '73255965', '76338114', '76338119', '77130918', '72435500', '72508596', '74371443', '73766579', '73832578', '73058329', '76881205', '75376870', '73246650', '72844117', '60077966', '60698677', '71956116', '72228703', '75244998', '73054223', '72767315', '71888772', '70847183', '73051156', '61961484', '75638605', '73051002', '73018628', '72782480', '72666649', '72882083', '76524158', '73111212', '75200222', '72813638', '72892894', '70567579', '75244853', '75223904', '74811139', '74379034', '75332008', '72038783', '72129650', '60898546', '76227806', '75181630', '74833197', '74434047', '76566718', '76547677', '72704361', '74436267', '62646143', '73368473', '71106284', '75374165', '73604607', '74289481', '74206809', '72012510', '72762498', '71341075', '73148608', '71273115', '72892892', '75663660', '71838671' ] @> ARRAY[p.nro_documento]::text[] THEN TRUE ELSE FALSE END FROM persona p, sima.detalle_alumno da WHERE p.nid_persona = da.nid_persona

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.