SELECT t.id_country, country, truncate( min(t.rate+o.rate) ,2) rate
                     FROM bell.origination o
                    INNER join bell.termination t on t.id_cc=o.id_cc
                    INNER join bell.card_company cc on cc.id_card_company=o.id_cc
                    inner join bell.country c on c.id_country=t.id_country
                    WHERE o.id_country='182'
                      AND cc.active='y'
                    group by t.id_country
                    ORDER by country
012
5Afghanistan17.90
555Afghanistan - CELL15.20
13Albania17.20
415Albania - CELL30.60
10Algeria6.70
556Algeria - CELL55.55
11Amer. Samoa2.60
12Andorra2.80
547Andorra - CELL18.20
18Angola5.30
557Angola - CELL12.20
235Anguilla19.70
558Anguilla - CELL25.30
6Antarctica66.90
14Antigua22.20
475Antigua - CELL35.30
15Argentina1.10
244Argentina - Buenos Aires1.00
287Argentina - CELL12.60
649Argentina - Cordoba7.20
650Argentina - La Plata7.00
652Argentina - Mendoza7.30
16Armenia13.00
289Armenia - CELL22.40
17Aruba11.30
417Aruba - CELL21.10
245Ascension Isl.100.20
7Australia1.40
246Australia - CELL2.90
8Austria1.40
290Austria - CELL3.50
9Azerbaijan19.40
291Azerbaijan - CELL31.30
236Bahamas17.30
418Bahamas - CELL25.60
21Bahrain10.30
561Bahrain - CELL12.20
19Bangladesh1.90
297Bangladesh - CELL2.00
294Bangladesh - Dhaka16.35
237Barbados7.50
554Barbados - CELL19.70
22Belarus35.00
419Belarus - CELL35.00
23Belgium4.50
420Belgium - CELL24.00
24Belize25.90
562Belize - CELL25.90
25Benin26.90
476Benin - CELL33.60
27Bermuda3.80
421Bermuda - CELL2.10
36Bhutan5.20
563Bhutan - CELL5.20
28Bolivia10.10
477Bolivia - CELL17.60
564Bolivia - Cochabamba13.80
565Bolivia - La Paz17.00
566Bolivia - Santa Cruz14.70
30Bosnia&Herz.18.30
422Bosnia&Herz. - CELL35.00
31Botswana12.00
478Botswana - CELL25.30
32Brazil1.00
305Brazil - CELL2.20
238British V.I.18.80
424British V.I. - CELL22.80
33Brunei4.00
567Brunei - CELL14.40
29Bulgaria1.00
425Bulgaria - CELL7.90
404Bulgaria - Sofia7.50
34Burkina Faso28.70
568Burkina Faso - CELL35.90
35Burundi23.60
479Burundi - CELL51.90
83Cambodia6.00
452Cambodia - CELL5.50
84Cameroon13.00
480Cameroon - CELL25.00
569Cameroon - Douala22.70
85Canada1.00
150Cape Verde13.70
481Cape Verde - CELL26.20
234CAR35.10
570CAR - CELL53.10
224Cayman Isl.5.80
426Cayman Isl. - CELL16.10
208Chad Rep.43.90
482Chad Rep. - CELL46.60
209Chile1.20
483Chile - CELL1.40
90China4.00
307China - CELL4.00
141Christmas Isl.7.00
92Colombia2.50
954Colombia - Armenia14.90
320Colombia - Barranquilla12.90
314Colombia - Bogota2.50
955Colombia - Bucaramanga14.80
956Colombia - Buga11.00
315Colombia - Cali11.50
958Colombia - Cartegna16.30
313Colombia - CELL2.50
961Colombia - Manizales14.50
317Colombia - Medellin14.30
962Colombia - Palmira12.40
947Colombia - Pereira15.30
93Comoros37.80
572Comoros - CELL40.40
94Congo46.40
548Congo - CELL41.80
145Cook Isl.52.30
95Costa Rica2.90
324Costa Rica - CELL6.10
207Croatia2.30
325Croatia - CELL3.50
96Cuba64.50
37Cuba Guantanamo63.10
88Cyprus1.70
326Cyprus - CELL5.90
241Czech Rep.3.20
273Czech Rep. - CELL6.50
67Dem. Rep. Congo40.00
544Dem. Rep. Congo - CELL38.70
62Denmark1.90
327Denmark - CELL2.50
64Diego Garcia110.00
63Djibouti32.50
228Dominica18.90
485Dominica - CELL25.40
65Dominican Rep.3.50
329Dominican Rep. - CELL10.10
453East Timor27.50
213Ecuador11.60
330Ecuador - CELL16.90
696Ecuador - Cuenca20.00
332Ecuador - Guayaquil28.00
66Egypt8.40
334Egypt - CELL10.10
164El Salvador12.70
335El Salvador - CELL19.70
214Equator. Guinea38.70
576Equator. Guinea - CELL48.40
215Eritrea24.70
577Eritrea - CELL25.90
216Estonia1.80
336Estonia - CELL35.00
217Ethiopia17.50
486Ethiopia - CELL19.30
199Faeroe Isl.21.30
578Faeroe Isl. - CELL2.90
203Falkland Isl.77.40
200Fiji Isl.27.70
487Fiji Isl. - CELL26.30
202Finland8.30
337Finland - CELL12.00
204France1.40
265France - CELL6.50
205French Guiana1.30
581French Guiana - CELL4.20
206French Polynesia29.80
44Gabon Rep.27.70
488Gabon Rep. - CELL55.55
47Gambia39.80
583Gambia - CELL46.50
60Georgia9.00
338Georgia - CELL22.00
53Germany1.00
255Germany - CELL3.20
48Ghana23.10
489Ghana - CELL24.60
967Ghana - Tema25.00
54Gibraltar3.50
490Gibraltar - CELL13.90
59Greece1.60
343Greece - CELL1.30
58Greenland5.50
57Grenada9.90
492Grenada - CELL24.20
49Guadeloupe1.30
493Guadeloupe - CELL6.70
61Guam2.10
50Guatemala8.20
494Guatemala - CELL14.70
51Guinea23.20
495Guinea - CELL45.50
52Guinea Bissau53.30
496Guinea Bissau - CELL55.90
46Guyana23.50
497Guyana - CELL18.60
45Haiti24.40
498Haiti - CELL27.20
969Haiti - Port-au-Prince21.10
55Honduras12.60
499Honduras - CELL14.00
56Hong Kong2.40
345Hong Kong - CELL3.50
41Hungary3.60
346Hungary - CELL4.50
78Iceland1.00
500Iceland - CELL1.90
72India1.50
455India - Ahmadabad30.40
347India - CELL1.70
352India - Hyderabad20.90
349India - New Delhi24.00
73Indonesia3.20
356Indonesia - CELL3.90
353Indonesia - Jakarta11.50
76Iran12.60
456Iran - CELL17.10
75Iraq14.60
585Iraq - CELL19.10
77Ireland1.00
358Ireland - CELL1.20
71Israel3.99
254Israel - CELL9.90
630Israel-Palestine18.10
80Italy1.00
267Italy - CELL3.90
26Ivory Coast30.60
458Ivory Coast - Abidjan23.00
501Ivory Coast - CELL31.10
221Jamaica21.60
459Jamaica - CELL20.00
222Japan1.90
359Japan - CELL3.50
74Jordan15.60
461Jordan - CELL18.70
82Kazakhstan3.70
428Kazakhstan - CELL16.30
87Kenya13.70
502Kenya - CELL10.20
586Kenya - Nairobi22.10
160Kiribati92.10
409Korea North39.20
407Korea South1.50
364Korea South - CELL3.30
638Korea South - Seoul7.40
97Kuwait4.10
504Kuwait - CELL3.80
89Kyrgyzstan10.20
278Kyrgyzstan - CELL16.90
98Laos8.30
99Latvia16.10
249Latvia - CELL28.00
102Lebanon10.50
505Lebanon - CELL15.70
100Lesotho27.77
588Lesotho - CELL30.00
101Liberia44.40
549Liberia - CELL42.90
103Libya26.90
589Libya - CELL29.10
229Liechtenstein6.60
104Lithuania14.90
365Lithuania - CELL27.77
105Luxembourg1.60
433Luxembourg - CELL3.50
110Macau15.00
506Macau - CELL16.70
225Macedonia16.90
473Macedonia - CELL41.20
109Madagascar43.80
507Madagascar - CELL58.40
111Malawi14.90
590Malawi - CELL14.90
112Malaysia1.10
366Malaysia - CELL1.30
113Maldives90.50
591Maldives - CELL85.30
108Mali25.00
592Mali - CELL38.40
114Malta13.70
474Malta - CELL23.20
117Marshall Isl.25.30
116Martinique1.30
683Martinique - CELL15.00
107Mauritania49.00
594Mauritania - CELL58.50
106Mauritius12.30
509Mauritius - CELL10.50
138Mayotte Isl.3.50
595Mayotte Isl. - CELL7.60
118Mexico1.00
434Mexico - CELL1.00
462Mexico - Guadalajara8.30
369Mexico - MexicoCity7.40
370Mexico - Monterrey11.20
675Mexico - Puebla9.20
119Micronesia53.60
121Moldova30.00
371Moldova - CELL22.90
122Monaco7.20
510Monaco - CELL33.60
123Mongolia1.80
597Mongolia - CELL1.80
647Montenegro19.50
648Montenegro - CELL54.90
124Montserrat23.40
598Montserrat - CELL44.40
115Morocco2.10
625Morocco - Casablanca36.50
511Morocco - CELL49.70
120Mozambique12.90
512Mozambique - CELL28.40
125Myanmar (Burma)19.20
599Myanmar (Burma) - CELL14.20
126Namibia7.30
513Namibia - CELL4.90
127Nauru126.70
129Nepal11.20
515Nepal - CELL15.20
131Nether. Antilles8.70
516Nether. Antilles - CELL27.50
975Nether. Antilles - Curacao5.60
978Nether. Antilles - St. Martin CELL19.90
132Netherlands1.20
372Netherlands - CELL4.50
643Nevis40.50
136New Caledonia19.60
135New Zealand1.40
437New Zealand - CELL7.00
133Nicaragua13.70
517Nicaragua - CELL21.80
230Niger28.60
600Niger - CELL28.60
130Nigeria8.40
518Nigeria - CELL7.10
996Nigeria - Ilorin33.40
134Niue Isl.64.60
139Norfolk Isl.50.00
142Northern Mariana Islands3.60
137Norway1.00
373Norway - CELL1.20
149Oman10.80
521Oman - CELL18.80
151Pakistan6.50
466Pakistan - CELL6.50
465Pakistan - Lahore59.80
152Palau25.10
601Palau - CELL40.00
618Palestine16.90
619Palestine - CELL19.30
153Panama2.50
522Panama - CELL10.90
636Panama - Panama-City27.30
154Papua New Guinea69.00
523Papua New Guinea - CELL103.20
155Paraguay5.00
467Paraguay - Asuncion5.00
550Paraguay - CELL5.50
156Peru1.00
524Peru - CELL1.00
468Peru - Lima8.00
201Philippines11.70
375Philippines - CELL12.60
374Philippines - Manila27.70
157Poland1.40
260Poland - CELL2.20
158Portugal1.00
438Portugal - CELL2.00
159Puerto Rico1.00
86Qatar16.30
525Qatar - CELL17.30
140Reunion Isl.1.60
526Reunion Isl. - CELL9.00
163Romania1.50
271Romania - Bucharest12.00
274Romania - CELL3.00
161Russia2.50
279Russia - CELL4.90
247Russia - Moscow3.60
248Russia - S.Peter2.40
162Rwanda29.10
602Rwanda - CELL30.60
165San Marino8.80
166Sao Tome82.50
168Saudi Arabia9.50
470Saudi Arabia - CELL13.80
410Saudi Arabia - Riyadh13.80
174Senegal31.00
527Senegal - CELL21.80
376Senegal - Dakar34.10
218Serbia16.90
451Serbia - CELL44.10
171Seychelles Isl.40.20
605Seychelles Isl. - CELL40.20
233Sierra Leone44.80
528Sierra Leone - CELL48.30
175Singapore1.20
377Singapore - CELL1.20
1044Sint Maarten11.90
240Slovakia1.00
440Slovakia - CELL6.80
177Slovenia8.30
441Slovenia - CELL41.66
178Solomon Island82.70
179Somalia37.90
606Somalia - CELL25.50
219South Africa5.10
380South Africa - CELL6.10
1030South Sudan35.00
79Spain1.00
381Spain - CELL1.60
4Special Services8.60
212Sri Lanka15.30
442Sri Lanka - CELL14.80
231St. Helena177.30
242St. Kitts17.60
530St. Kitts - CELL18.70
167St. Lucia15.10
531St. Lucia - CELL25.40
172St. Vincent15.00
532St. Vincent - CELL22.00
173St.Pierre&Miquel35.80
180Sudan16.20
609Sudan - CELL16.80
181Suriname13.90
533Suriname - CELL18.30
169Swaziland7.60
534Swaziland - CELL19.00
211Sweden1.00
387Sweden - CELL1.30
210Switzerland2.00
389Switzerland - CELL12.00
176Syria21.40
610Syria - CELL24.30
184Taiwan2.20
390Taiwan - CELL14.00
639Taiwan - Taipei7.20
183Tajikistan14.20
443Tajikistan - CELL19.90
186Tanzania30.00
535Tanzania - CELL31.80
185Thailand1.30
412Thailand - Bangkok10.60
445Thailand - CELL1.40
187Togo28.60
612Togo - CELL34.40
188Tokelau86.20
189Tonga59.30
553Tonga - CELL74.80
190Trinidad&Tobago5.50
536Trinidad&Tobago - CELL19.00
192Tunisia38.60
537Tunisia - CELL71.42
194Turkey3.50
628Turkey - Ankara16.70
391Turkey - CELL15.60
392Turkey - Istanbul14.10
985Turkey - Izmir16.70
193Turkmenistan10.20
446Turkmenistan - CELL13.50
146Turks&Caicos32.90
614Turks&Caicos - CELL21.60
191Tuvalu79.70
148UAE15.50
447UAE - CELL18.00
195Uganda24.40
539Uganda - CELL24.40
286UK1.00
262UK - CELL3.00
197Ukraine14.40
393Ukraine - CELL13.40
198Uruguay5.50
540Uruguay - CELL12.70
1025Uruguay - Montevideo6.00
239US Virgin Isl.1.80
182USA1.00
283USA - Alaska1.90
284USA - Hawaii1.10
1056USA - Toll Free1.00
196Uzbekistan7.90
449Uzbekistan - CELL8.90
38Vanuatu105.90
541Vanuatu - CELL104.00
42Venezuela1.00
413Venezuela - Caracas11.60
450Venezuela - CELL5.40
414Venezuela - Maracaibo15.00
43Vietnam7.10
396Vietnam - CELL10.30
147Wallis&Fortuna33.40
69Western Samoa57.10
542Western Samoa - CELL101.30
223Yemen13.60
543Yemen - CELL15.50
68Zambia22.00
545Zambia - CELL44.80
70Zimbabwe20.00
546Zimbabwe - CELL48.80