daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT tbCodes.code, tbCodes.dni AS dni, nombre, apellidos, direccion, piso, numero, puerta, codigopostal, poblacion, provincia, movil, LOWER(email) AS email, fecha
  2.  
  3. FROM tbCodes, tbParticipantes, tbProvincias
  4.  
  5. WHERE tbParticipantes.idprovincia = tbProvincias.idprovincia AND
  6.       tbParticipantes.dni = tbCodes.dni AND
  7.       LENGTH(dni) > 0 AND
  8.       tbCodes.dni NOT IN (SELECT dni FROM tbPremiados)
  9.      
  10. ORDER BY dni, fecha ASC
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top