Sabor a milpa. Cultivos con tradición.
La milpa es, desde los tiempos prehispánicos, la gran bodega proveedora de legumbres de la zona lacustre del altiplano mexicano
En ella coexisten los frijoles, las calabazas, el maíz y hasta los nopales.
Zahie revalorizará estos productos para llevarlos a la mesa de un modo personal.
Enviar mail al programa
SELECT
RecId,
Titulo,
youtubeID,
(select u.Nombre from URL_RECETAS u where u.RecId=ResultadoPaginado.recId) as Titulo_amigable,
(select c.CocineroNombre+' '+CocineroApellido from COCINEROS c where c.CocineroID=ResultadoPaginado.CocineroID) as chef,
(select cast(l.Programa as varchar(max)) as Programa from LSTPROG l where l.PID=ResultadoPaginado.ProgramaID) as programa,
(select (select u.Nombre from URL_COCINEROS u where u.CocineroID=ResultadoPaginado.CocineroID) as chef_amigable from RECETAS r where r.RecId=ResultadoPaginado.RecId) as chef_amigable,
(select (select u.Nombre from URL_PROGRAMAS u where u.PID=ResultadoPaginado.ProgramaID) from RECETAS r where r.RecId=ResultadoPaginado.RecId) as programa_amigable,
CASE
WHEN (select top 1 f.ruta from FOTOS_RECETAS f where f.RecId=ResultadoPaginado.RecId and f.ruta!='') IS NULL THEN 'elgourmet.jpg'
else (select top 1 f.ruta from FOTOS_RECETAS f where f.RecId=ResultadoPaginado.RecId)
END
as foto,
RowNum
FROM
(
SELECT ROW_NUMBER()Over(Order by (select distinct f.ruta from fotos_recetas f where f.RecId=r.RecId) desc) As RowNum,
r.RecId ,
r.Titulo,
r.youtubeID,
r.CocineroID,
r.ProgramaID
FROM RECETAS r
WHERE r.ProgramaID='sabor_iGTAQxIo10aO7PWMvXnVNKrqljRdcH' and ocultar=0
)
AS ResultadoPaginado
WHERE RowNum > 0 and RowNum <= 6
Recetas del programa