Huente-Có. Con Francis Mallmann
Por cuarto año consecutivo el prestigioso chef nos deleitará con sus creaciones culinarias. Este año desde una isla ubicada en la provincia de Chubut, Argentina, Francis Mallmann nos introducirá en el mundo de la pesca y ofrecerá preparaciones a base de trucha. Huente-Có., el título de la serie, significa “entre aguas” en lengua mapuche.
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='dyF5SaaEGPROGp8262X1' and ocultar=0
)
AS ResultadoPaginado
WHERE RowNum > 0 and RowNum <= 6