<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comentarios en: SQL contra el Apocalipsis Mutante (Parte 1): Aprende SQL y salva el mundo	</title>
	<atom:link href="https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/</link>
	<description>Siempre aprendiendo cosas nuevas de bases de datos</description>
	<lastBuildDate>Sun, 13 Jul 2025 23:33:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		Por: Diosvely Perez Arteaga		</title>
		<link>https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-514</link>

		<dc:creator><![CDATA[Diosvely Perez Arteaga]]></dc:creator>
		<pubDate>Sun, 13 Jul 2025 23:33:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.soydba.es/?p=2007#comment-514</guid>

					<description><![CDATA[Parte 1

Ejercicio 1

SELECT RefugeID, FoodRations, WaterLiters
FROM RefugeSupplies
WHERE FoodRations &#060; 10 OR WaterLiters &#060; 50
ORDER BY FoodRations ASC;



Ejercicio 2: 

SELECT TOP 5 RefugeID, Weapons
FROM RefugeSupplies
ORDER BY Weapons DESC;


Ejercicio 3

SELECT RefugeID, Latitude, Longitude
FROM RefugeSupplies
WHERE Latitude BETWEEN 39 AND 41
  AND Longitude BETWEEN -75 AND -73;


Ejercicio 4

SELECT 
    rs.RefugeID, 
    ss.Population, 
    rs.FoodRations, 
    rs.Weapons
FROM RefugeSupplies rs
JOIN SurvivorStats ss 
    ON rs.RefugeID = ss.RefugeID;


Ejercicio 5: 


SELECT 
    rs.RefugeID, 
    ss.Population, 
    rs.Weapons
FROM RefugeSupplies rs
JOIN SurvivorStats ss 
    ON rs.RefugeID = ss.RefugeID
WHERE rs.Weapons  50;]]></description>
			<content:encoded><![CDATA[<p>Parte 1</p>
<p>Ejercicio 1</p>
<p>SELECT RefugeID, FoodRations, WaterLiters<br />
FROM RefugeSupplies<br />
WHERE FoodRations &lt; 10 OR WaterLiters &lt; 50<br />
ORDER BY FoodRations ASC;</p>
<p>Ejercicio 2: </p>
<p>SELECT TOP 5 RefugeID, Weapons<br />
FROM RefugeSupplies<br />
ORDER BY Weapons DESC;</p>
<p>Ejercicio 3</p>
<p>SELECT RefugeID, Latitude, Longitude<br />
FROM RefugeSupplies<br />
WHERE Latitude BETWEEN 39 AND 41<br />
  AND Longitude BETWEEN -75 AND -73;</p>
<p>Ejercicio 4</p>
<p>SELECT<br />
    rs.RefugeID,<br />
    ss.Population,<br />
    rs.FoodRations,<br />
    rs.Weapons<br />
FROM RefugeSupplies rs<br />
JOIN SurvivorStats ss<br />
    ON rs.RefugeID = ss.RefugeID;</p>
<p>Ejercicio 5: </p>
<p>SELECT<br />
    rs.RefugeID,<br />
    ss.Population,<br />
    rs.Weapons<br />
FROM RefugeSupplies rs<br />
JOIN SurvivorStats ss<br />
    ON rs.RefugeID = ss.RefugeID<br />
WHERE rs.Weapons  50;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Por: Diosvely Perez Arteaga		</title>
		<link>https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-513</link>

		<dc:creator><![CDATA[Diosvely Perez Arteaga]]></dc:creator>
		<pubDate>Sun, 13 Jul 2025 23:29:36 +0000</pubDate>
		<guid isPermaLink="false">https://www.soydba.es/?p=2007#comment-513</guid>

					<description><![CDATA[Roberto me encanto este Reto.]]></description>
			<content:encoded><![CDATA[<p>Roberto me encanto este Reto.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Por: Diosvely Perez Arteaga		</title>
		<link>https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-512</link>

		<dc:creator><![CDATA[Diosvely Perez Arteaga]]></dc:creator>
		<pubDate>Sun, 13 Jul 2025 23:29:08 +0000</pubDate>
		<guid isPermaLink="false">https://www.soydba.es/?p=2007#comment-512</guid>

					<description><![CDATA[Ejercicio 1:

SELECT RefugeID, FoodRations, WaterLiters
FROM RefugeSupplies
WHERE FoodRations &#060; 10 OR WaterLiters &#060; 50
ORDER BY FoodRations ASC;


Ejercicio 2: 

SELECT TOP 5 RefugeID, Weapons
FROM RefugeSupplies
ORDER BY Weapons DESC;

Ejercicio 3: 

SELECT RefugeID, Latitude, Longitude
FROM RefugeSupplies
WHERE Latitude BETWEEN 39 AND 41
  AND Longitude BETWEEN -75 AND -73;

Ejercicio 4:

SELECT 
    rs.RefugeID, 
    ss.Population, 
    rs.FoodRations, 
    rs.Weapons
FROM RefugeSupplies rs
JOIN SurvivorStats ss 
    ON rs.RefugeID = ss.RefugeID;


Ejercicio 5: 

SELECT 
    rs.RefugeID, 
    ss.Population, 
    rs.Weapons
FROM RefugeSupplies rs
JOIN SurvivorStats ss 
    ON rs.RefugeID = ss.RefugeID
WHERE rs.Weapons  50;]]></description>
			<content:encoded><![CDATA[<p>Ejercicio 1:</p>
<p>SELECT RefugeID, FoodRations, WaterLiters<br />
FROM RefugeSupplies<br />
WHERE FoodRations &lt; 10 OR WaterLiters &lt; 50<br />
ORDER BY FoodRations ASC;</p>
<p>Ejercicio 2: </p>
<p>SELECT TOP 5 RefugeID, Weapons<br />
FROM RefugeSupplies<br />
ORDER BY Weapons DESC;</p>
<p>Ejercicio 3: </p>
<p>SELECT RefugeID, Latitude, Longitude<br />
FROM RefugeSupplies<br />
WHERE Latitude BETWEEN 39 AND 41<br />
  AND Longitude BETWEEN -75 AND -73;</p>
<p>Ejercicio 4:</p>
<p>SELECT<br />
    rs.RefugeID,<br />
    ss.Population,<br />
    rs.FoodRations,<br />
    rs.Weapons<br />
FROM RefugeSupplies rs<br />
JOIN SurvivorStats ss<br />
    ON rs.RefugeID = ss.RefugeID;</p>
<p>Ejercicio 5: </p>
<p>SELECT<br />
    rs.RefugeID,<br />
    ss.Population,<br />
    rs.Weapons<br />
FROM RefugeSupplies rs<br />
JOIN SurvivorStats ss<br />
    ON rs.RefugeID = ss.RefugeID<br />
WHERE rs.Weapons  50;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Por: Hugo		</title>
		<link>https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-506</link>

		<dc:creator><![CDATA[Hugo]]></dc:creator>
		<pubDate>Mon, 07 Jul 2025 21:48:51 +0000</pubDate>
		<guid isPermaLink="false">https://www.soydba.es/?p=2007#comment-506</guid>

					<description><![CDATA[-- Ejercicio 1: Localiza los refugios al borde del colapso
Select RefugeID, FoodRations, WaterLiters
from [dbo].[RefugeSupplies]
where FoodRations&#060;10 or WaterLiters= 39  and Latitude =-75 and Longitude&#060;=-73)

--Ejercicio 4: Conoce a los supervivientes que defiendes

SELECT RS.RefugeID, Population, RS.FoodRations, RS.WaterLiters, RS.Weapons
from [dbo].[RefugeSupplies] as RS
inner join SurvivorStats as SS ON RS.RefugeID=SS.RefugeID

--Ejercicio 5: Identifica tragedias inminentes

SELECT RS.RefugeID, Population, RS.FoodRations, RS.WaterLiters, RS.Weapons
from [dbo].[RefugeSupplies] as RS
inner join SurvivorStats as SS ON RS.RefugeID=SS.RefugeID
where RS.Weapons 50


Interesante conversación sobre qué funciona mejor: beetwen o &#062;&#060;?]]></description>
			<content:encoded><![CDATA[<p>&#8212; Ejercicio 1: Localiza los refugios al borde del colapso<br />
Select RefugeID, FoodRations, WaterLiters<br />
from [dbo].[RefugeSupplies]<br />
where FoodRations&lt;10 or WaterLiters= 39  and Latitude =-75 and Longitude&lt;=-73)</p>
<p>&#8211;Ejercicio 4: Conoce a los supervivientes que defiendes</p>
<p>SELECT RS.RefugeID, Population, RS.FoodRations, RS.WaterLiters, RS.Weapons<br />
from [dbo].[RefugeSupplies] as RS<br />
inner join SurvivorStats as SS ON RS.RefugeID=SS.RefugeID</p>
<p>&#8211;Ejercicio 5: Identifica tragedias inminentes</p>
<p>SELECT RS.RefugeID, Population, RS.FoodRations, RS.WaterLiters, RS.Weapons<br />
from [dbo].[RefugeSupplies] as RS<br />
inner join SurvivorStats as SS ON RS.RefugeID=SS.RefugeID<br />
where RS.Weapons 50</p>
<p>Interesante conversación sobre qué funciona mejor: beetwen o &gt;&lt;?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Por: Diego Ramírez		</title>
		<link>https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-505</link>

		<dc:creator><![CDATA[Diego Ramírez]]></dc:creator>
		<pubDate>Mon, 07 Jul 2025 15:11:20 +0000</pubDate>
		<guid isPermaLink="false">https://www.soydba.es/?p=2007#comment-505</guid>

					<description><![CDATA[En respuesta a &lt;a href=&quot;https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-502&quot;&gt;Diego Ramírez&lt;/a&gt;.

Mejor les comparto por acá mi aporte, saludos: https://pastebin.com/4qf7S9Yr]]></description>
			<content:encoded><![CDATA[<p>En respuesta a <a href="https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-502">Diego Ramírez</a>.</p>
<p>Mejor les comparto por acá mi aporte, saludos: <a href="https://pastebin.com/4qf7S9Yr" rel="nofollow ugc">https://pastebin.com/4qf7S9Yr</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Por: Diego Ramírez		</title>
		<link>https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-504</link>

		<dc:creator><![CDATA[Diego Ramírez]]></dc:creator>
		<pubDate>Mon, 07 Jul 2025 13:59:06 +0000</pubDate>
		<guid isPermaLink="false">https://www.soydba.es/?p=2007#comment-504</guid>

					<description><![CDATA[En respuesta a &lt;a href=&quot;https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-503&quot;&gt;Diego Ramírez&lt;/a&gt;.

No sé por qué los pega mal.... saludos.]]></description>
			<content:encoded><![CDATA[<p>En respuesta a <a href="https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-503">Diego Ramírez</a>.</p>
<p>No sé por qué los pega mal&#8230;. saludos.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Por: Diego Ramírez		</title>
		<link>https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-503</link>

		<dc:creator><![CDATA[Diego Ramírez]]></dc:creator>
		<pubDate>Mon, 07 Jul 2025 13:58:10 +0000</pubDate>
		<guid isPermaLink="false">https://www.soydba.es/?p=2007#comment-503</guid>

					<description><![CDATA[En respuesta a &lt;a href=&quot;https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-502&quot;&gt;Diego Ramírez&lt;/a&gt;.

-- Ejercicio 5: Identifica tragedias inminentes
SELECT R.RefugeID, S.Population, R.FoodRations, R.WaterLiters, R.Weapons
FROM SurvivalDB.dbo.RefugeSupplies AS R
INNER JOIN  SurvivalDB.dbo.SurvivorStats AS S ON (S.RefugeID=R.RefugeID)
WHERE R.Weapons  50;]]></description>
			<content:encoded><![CDATA[<p>En respuesta a <a href="https://www.soydba.es/sql-contra-el-apocalipsis-mutante-parte-1-aprende-sql-y-salva-el-mundo/#comment-502">Diego Ramírez</a>.</p>
<p>&#8212; Ejercicio 5: Identifica tragedias inminentes<br />
SELECT R.RefugeID, S.Population, R.FoodRations, R.WaterLiters, R.Weapons<br />
FROM SurvivalDB.dbo.RefugeSupplies AS R<br />
INNER JOIN  SurvivalDB.dbo.SurvivorStats AS S ON (S.RefugeID=R.RefugeID)<br />
WHERE R.Weapons  50;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
