10
Referidos
70
Aprobados
10
Pendientes
20
Descartados
MySQL Query Error Script
MySQL Query Error 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY 1 DESC' at line 1
Query : SELECT a.idreferido,a.fechareg,a.identificacion,a.nombre,a.telefono,a.placa,a.idestado,a.idempleado,a.idproducto,a.idtipoidentificacion,a.idusuarioc, b.nombre,b.color FROM sod_referidos a INNER JOIN gen_estados b ON b.idestado = a.idestado WHERE a.estado = '1' AND a.idempleado = ORDER BY 1 DESC;
| # | Telefono | Nombre | Identificacion | Fecha | Estado |
|---|---|---|---|---|---|
| no hay referidos | |||||