Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/09/2015, 14:11
Avatar de Libras
Libras
Colaborador
 
Fecha de Ingreso: agosto-2006
Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 17 años, 8 meses
Puntos: 774
Respuesta: Cargar información en el parámetro OUT

Código MySQL:
Ver original
  1. SELECT poblacion + '(' +  COUNT(*) + ')'
  2. FROM t_un U
  3. INNER JOIN t_poblacion P ON U.poblacion = P.id_poblacion
  4. WHERE U.tipo = tipus
  5. GROUP BY U.poblacion
  6. ORDER BY P.nombre_poblacion
__________________
What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me