<?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>Comments on: PHP MySQL &#8211; Joining tables in PhpMyAdmin</title>
	<atom:link href="http://paulcracknell.net/502/php-mysql-joining-tables-in-phpmyadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulcracknell.net/502/php-mysql-joining-tables-in-phpmyadmin/</link>
	<description>Website development</description>
	<lastBuildDate>Wed, 02 Jan 2013 15:28:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: shikamaru</title>
		<link>http://paulcracknell.net/502/php-mysql-joining-tables-in-phpmyadmin/#comment-141</link>
		<dc:creator>shikamaru</dc:creator>
		<pubDate>Thu, 13 Sep 2012 12:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulcracknell.net/?p=502#comment-141</guid>
		<description><![CDATA[Hello, I am trying to create a view that joins 2 tables &quot;accounts&quot; and &quot;cases&quot; in order to get the name of the account. 
Using the cases_id field in the accounts table and the id field in the cases table
I have come up with the following, but its not working.
Could you please have a look at it.
Any help would be greatly appreciated

create view Natview_Account_Name AS
SELECT 
accounts.id as accs_id,
accounts.name as account_name,
cases.account_id as cas_acc_id
FROM
accounts , cases
INNER JOIN accounts ON cases.cas_acc_id = accs_id]]></description>
		<content:encoded><![CDATA[<p>Hello, I am trying to create a view that joins 2 tables &#8220;accounts&#8221; and &#8220;cases&#8221; in order to get the name of the account.<br />
Using the cases_id field in the accounts table and the id field in the cases table<br />
I have come up with the following, but its not working.<br />
Could you please have a look at it.<br />
Any help would be greatly appreciated</p>
<p>create view Natview_Account_Name AS<br />
SELECT<br />
accounts.id as accs_id,<br />
accounts.name as account_name,<br />
cases.account_id as cas_acc_id<br />
FROM<br />
accounts , cases<br />
INNER JOIN accounts ON cases.cas_acc_id = accs_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Altin</title>
		<link>http://paulcracknell.net/502/php-mysql-joining-tables-in-phpmyadmin/#comment-140</link>
		<dc:creator>Altin</dc:creator>
		<pubDate>Wed, 20 Jun 2012 11:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulcracknell.net/?p=502#comment-140</guid>
		<description><![CDATA[Nice post.How about create Table instead of View]]></description>
		<content:encoded><![CDATA[<p>Nice post.How about create Table instead of View</p>
]]></content:encoded>
	</item>
</channel>
</rss>
