<?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 for ä¸­å›½ç½‘ç»œ(86SQL.COM)ä¼ä¸šé‚®ä»¶ç³»ç»Ÿ</title>
	<atom:link href="http://subeijihua.org/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://subeijihua.org</link>
	<description></description>
	<lastBuildDate>Mon, 15 Feb 2010 18:29:59 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on How can I query an access database for all records not past their expiration date? by j.woolfe@sbcglobal.net</title>
		<link>http://subeijihua.org/query/how-can-i-query-an-access-database-for-all-records-not-past-their-expiration-date-2/comment-page-1#comment-2787</link>
		<dc:creator>j.woolfe@sbcglobal.net</dc:creator>
		<pubDate>Mon, 15 Feb 2010 18:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/query/how-can-i-query-an-access-database-for-all-records-not-past-their-expiration-date-2#comment-2787</guid>
		<description>Then who set the expiration date in the table for that field?&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Then who set the expiration date in the table for that field?<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How do i create a relational database using microsoft access? by Ben</title>
		<link>http://subeijihua.org/database/how-do-i-create-a-relational-database-using-microsoft-access/comment-page-1#comment-2789</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 15 Feb 2010 18:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/database/how-do-i-create-a-relational-database-using-microsoft-access#comment-2789</guid>
		<description>How do i create a relational database using microsoft access?

Creating an Access &#039;relational&#039; database is not an intuitive process and as already correctly pointed out but requires a bit of learning and some research.

I hear what you say regarding &#039;confusion&#039; when reading about this topic and hopefully I can provide some help (which is not confusing) on my website.

Take a look at http://www.about-access-databases.com and look at this page to start with http://www.about-access-databases.com/database-design.html (Designing and implementing). If you follow through the links this should start to shed some light on the matter.

In any event, it will take some planning and understanding before building the database and this is something only you can invest your time into.

If you need some help and further clarification on my topics I recommend, please feel free to email.

Good luck.
Ben Beitler&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;Access and Excel expert (including VBA)
http://www.about-access-databases.com
http://www.access-database.com/
http://www.excel-spreadsheet.com/
http://www.trainingpartnership.biz/</description>
		<content:encoded><![CDATA[<p>How do i create a relational database using microsoft access?</p>
<p>Creating an Access &#8216;relational&#8217; database is not an intuitive process and as already correctly pointed out but requires a bit of learning and some research.</p>
<p>I hear what you say regarding &#8216;confusion&#8217; when reading about this topic and hopefully I can provide some help (which is not confusing) on my website.</p>
<p>Take a look at <a href="http://www.about-access-databases.com" rel="nofollow">http://www.about-access-databases.com</a> and look at this page to start with <a href="http://www.about-access-databases.com/database-design.html" rel="nofollow">http://www.about-access-databases.com/database-design.html</a> (Designing and implementing). If you follow through the links this should start to shed some light on the matter.</p>
<p>In any event, it will take some planning and understanding before building the database and this is something only you can invest your time into.</p>
<p>If you need some help and further clarification on my topics I recommend, please feel free to email.</p>
<p>Good luck.<br />
Ben Beitler<br /><b>References : </b><br />Access and Excel expert (including VBA)<br />
<a href="http://www.about-access-databases.com" rel="nofollow">http://www.about-access-databases.com</a><br />
<a href="http://www.access-database.com/" rel="nofollow">http://www.access-database.com/</a><br />
<a href="http://www.excel-spreadsheet.com/" rel="nofollow">http://www.excel-spreadsheet.com/</a><br />
<a href="http://www.trainingpartnership.biz/" rel="nofollow">http://www.trainingpartnership.biz/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on if we send mail to group of people by mistake if we send to unwanted person,that email should not reach them? by Lyn G</title>
		<link>http://subeijihua.org/group-by/if-we-send-mail-to-group-of-people-by-mistake-if-we-send-to-unwanted-personthat-email-should-not-reach-them/comment-page-1#comment-2791</link>
		<dc:creator>Lyn G</dc:creator>
		<pubDate>Mon, 15 Feb 2010 18:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/group-by/if-we-send-mail-to-group-of-people-by-mistake-if-we-send-to-unwanted-personthat-email-should-not-reach-them#comment-2791</guid>
		<description>All of the addresses that you place in the E-mail, WILL receive it. 
If you have one address in there in error, there is nothing you can do to stop it, they will still receive that mail item. You must be diligent in checking all of your data BEFORE you send the message.
The best you can do is to send another message asking them to ignore the previous message that it was sent in error.&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>All of the addresses that you place in the E-mail, WILL receive it.<br />
If you have one address in there in error, there is nothing you can do to stop it, they will still receive that mail item. You must be diligent in checking all of your data BEFORE you send the message.<br />
The best you can do is to send another message asking them to ignore the previous message that it was sent in error.<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How do i create a relational database using microsoft access? by Colanth</title>
		<link>http://subeijihua.org/database/how-do-i-create-a-relational-database-using-microsoft-access/comment-page-1#comment-2788</link>
		<dc:creator>Colanth</dc:creator>
		<pubDate>Mon, 15 Feb 2010 18:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/database/how-do-i-create-a-relational-database-using-microsoft-access#comment-2788</guid>
		<description>You first have to learn what a relational database is, what the different queries in SQL are, etc.  Once you&#039;ve mastered that, you start learning Access.  Learning to create and maintain a database isn&#039;t something you can learn in a month.  (Database design, alone, is a subject that takes years to master.)&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>You first have to learn what a relational database is, what the different queries in SQL are, etc.  Once you&#8217;ve mastered that, you start learning Access.  Learning to create and maintain a database isn&#8217;t something you can learn in a month.  (Database design, alone, is a subject that takes years to master.)<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on if we send mail to group of people by mistake if we send to unwanted person,that email should not reach them? by Imagine</title>
		<link>http://subeijihua.org/group-by/if-we-send-mail-to-group-of-people-by-mistake-if-we-send-to-unwanted-personthat-email-should-not-reach-them/comment-page-1#comment-2790</link>
		<dc:creator>Imagine</dc:creator>
		<pubDate>Mon, 15 Feb 2010 18:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/group-by/if-we-send-mail-to-group-of-people-by-mistake-if-we-send-to-unwanted-personthat-email-should-not-reach-them#comment-2790</guid>
		<description>Huh??&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Huh??<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I am having an SQL INNER JOIN problem&#8230;? by TheMadProfessor</title>
		<link>http://subeijihua.org/inner-join/i-am-having-an-sql-inner-join-problem/comment-page-1#comment-2781</link>
		<dc:creator>TheMadProfessor</dc:creator>
		<pubDate>Sat, 13 Feb 2010 07:22:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/inner-join/i-am-having-an-sql-inner-join-problem#comment-2781</guid>
		<description>I&#039;d agree a bit more info would help but from what you specify, it sounds more like a NOT IN situation. Assuming there is some sort of Orders table where salesID is a foreign key to Employee and customerID is a foreign key to Customer, it would look something like:

SELECT firstName + &#039; &#039; + lastName AS Salesperson, salary AS Salary FROM Employee

WHERE employeeID NOT IN 
(SELECT DISTINCT salesID FROM Order WHERE customerID = &lt;whatever&gt;)

The NOT EXISTS approach suggested above would also work, but it&#039;s been my experience that correlated subqueries like that tend to have far poorer performance, since the subquery must be run for each row instead of just once to create the NOT IN comparison values.&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;d agree a bit more info would help but from what you specify, it sounds more like a NOT IN situation. Assuming there is some sort of Orders table where salesID is a foreign key to Employee and customerID is a foreign key to Customer, it would look something like:</p>
<p>SELECT firstName + &#8216; &#8216; + lastName AS Salesperson, salary AS Salary FROM Employee</p>
<p>WHERE employeeID NOT IN<br />
(SELECT DISTINCT salesID FROM Order WHERE customerID = &lt;whatever&gt;)</p>
<p>The NOT EXISTS approach suggested above would also work, but it&#8217;s been my experience that correlated subqueries like that tend to have far poorer performance, since the subquery must be run for each row instead of just once to create the NOT IN comparison values.<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I am having an SQL INNER JOIN problem&#8230;? by Germann A</title>
		<link>http://subeijihua.org/inner-join/i-am-having-an-sql-inner-join-problem/comment-page-1#comment-2780</link>
		<dc:creator>Germann A</dc:creator>
		<pubDate>Sat, 13 Feb 2010 07:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/inner-join/i-am-having-an-sql-inner-join-problem#comment-2780</guid>
		<description>You want to see personal info
select personal_info.*, other_table_where_you_do_not_want_to_have_any_records.key_field
from personal_info
LEFT JOIN other_table_where_you_do_not_want_to_have_any_records
ON ...
where ...
other_table_where_you_do_not_want_to_have_any_records.key_field is null

this last where clause will return records that do NOT have joined records in second table...

or

SELECT * 
FROM personal_info pi
WHERE ...
    NOT EXISTS 
( SELECT * 
  FROM Holidays 
  WHERE key = pi.key 
)&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>You want to see personal info<br />
select personal_info.*, other_table_where_you_do_not_want_to_have_any_records.key_field<br />
from personal_info<br />
LEFT JOIN other_table_where_you_do_not_want_to_have_any_records<br />
ON &#8230;<br />
where &#8230;<br />
other_table_where_you_do_not_want_to_have_any_records.key_field is null</p>
<p>this last where clause will return records that do NOT have joined records in second table&#8230;</p>
<p>or</p>
<p>SELECT *<br />
FROM personal_info pi<br />
WHERE &#8230;<br />
    NOT EXISTS<br />
( SELECT *<br />
  FROM Holidays<br />
  WHERE key = pi.key<br />
)<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on by mistake i joined one group, now i wnt to unjoined from that group, what all are the procedures, please? by crazy_mom2_1</title>
		<link>http://subeijihua.org/group-by/by-mistake-i-joined-one-group-now-i-wnt-to-unjoined-from-that-group-what-all-are-the-procedures-please/comment-page-1#comment-2775</link>
		<dc:creator>crazy_mom2_1</dc:creator>
		<pubDate>Sat, 13 Feb 2010 06:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/group-by/by-mistake-i-joined-one-group-now-i-wnt-to-unjoined-from-that-group-what-all-are-the-procedures-please#comment-2775</guid>
		<description>those who joined a group via e-mail subscribe or were added members can only leave by the unsubscribe e-mail, but leaving a group via the unsubscibe e-mail is faulty, if that&#039;s the only way you can leave, you will need the help form
http://help.yahoo.com/l/us/yahoo/groups/original/ownmod/forms/general.html;_ylt=Arz4ruP4UvDhafYZVOhh8SoKCXdG?from_url=http://messages.groups.yahoo.com/Groups/Moderators/threadview?m=tm&amp;bn=grp-issues&amp;tid=28812&amp;mid=28818&amp;tof=1&amp;frt=1
 
 
go to group home page and click edit membership top middle of page- bottom right click Leave Group- next page confirm and click Leave
or
go to this link http://groups.yahoo.com/mygroups click edit my groups on the top left- locate group (if there&#039;s more than one) under the last column check the small box - click save changes&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>those who joined a group via e-mail subscribe or were added members can only leave by the unsubscribe e-mail, but leaving a group via the unsubscibe e-mail is faulty, if that&#8217;s the only way you can leave, you will need the help form<br />
<a href="http://help.yahoo.com/l/us/yahoo/groups/original/ownmod/forms/general.html;_ylt=Arz4ruP4UvDhafYZVOhh8SoKCXdG?from_url=http://messages.groups.yahoo.com/Groups/Moderators/threadview?m=tm&amp;bn=grp-issues&amp;tid=28812&amp;mid=28818&amp;tof=1&amp;frt=1" rel="nofollow">http://help.yahoo.com/l/us/yahoo/groups/original/ownmod/forms/general.html;_ylt=Arz4ruP4UvDhafYZVOhh8SoKCXdG?from_url=http://messages.groups.yahoo.com/Groups/Moderators/threadview?m=tm&amp;bn=grp-issues&amp;tid=28812&amp;mid=28818&amp;tof=1&amp;frt=1</a></p>
<p>go to group home page and click edit membership top middle of page- bottom right click Leave Group- next page confirm and click Leave<br />
or<br />
go to this link <a href="http://groups.yahoo.com/mygroups" rel="nofollow">http://groups.yahoo.com/mygroups</a> click edit my groups on the top left- locate group (if there&#8217;s more than one) under the last column check the small box &#8211; click save changes<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to calculate the difference of the same field in two rows in Microsoft Access? by TheMadProfessor</title>
		<link>http://subeijihua.org/subquery/how-to-calculate-the-difference-of-the-same-field-in-two-rows-in-microsoft-access/comment-page-1#comment-2784</link>
		<dc:creator>TheMadProfessor</dc:creator>
		<pubDate>Sat, 13 Feb 2010 06:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/subquery/how-to-calculate-the-difference-of-the-same-field-in-two-rows-in-microsoft-access#comment-2784</guid>
		<description>The previous response is fine as far as it goes, but it might be even better if you take a further step back to evaluate what you&#039;re trying to do here. If you want a robust application, identify your requirements and develop a procedure to satisfy it in a stepwise manner. This is particularly easy with Access since you have the fairly-powerful VBA scripting language available to you.

1. Identify the categories of situations that need to be handled. In your case (for a given date), I see them as:
a) Employees who did not clock in at all
b) Employees who clocked in once but did not clock out
c) Employees who clocked in and out once
d) Employees who clocked in once and out twice
e) Employees who clocked in twice and out once
f) Employees who clocked in and out twice (the normal, expected case)
g) Other cases (can they clock in and out more than twice in a day?)

2. Determine what needs to be done in each case. For example, in c) above, do you assume they forgot to clock out and in for lunch and subtract an hour?

Once you&#039;ve determined the possibilities, then you can write simpler SELECTs to extract and process each of those cases rather than one big monolithic SELECT (which is vastly harder to write, debug and maintain than smaller procedural steps.) One such method would be an initial pass to identify in/out pairs and create a temporary table of durations while also identifying and addressing anomalies (&#039;in&#039;s without corresponding &#039;out&#039;s and vice versa).&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>The previous response is fine as far as it goes, but it might be even better if you take a further step back to evaluate what you&#8217;re trying to do here. If you want a robust application, identify your requirements and develop a procedure to satisfy it in a stepwise manner. This is particularly easy with Access since you have the fairly-powerful VBA scripting language available to you.</p>
<p>1. Identify the categories of situations that need to be handled. In your case (for a given date), I see them as:<br />
a) Employees who did not clock in at all<br />
b) Employees who clocked in once but did not clock out<br />
c) Employees who clocked in and out once<br />
d) Employees who clocked in once and out twice<br />
e) Employees who clocked in twice and out once<br />
f) Employees who clocked in and out twice (the normal, expected case)<br />
g) Other cases (can they clock in and out more than twice in a day?)</p>
<p>2. Determine what needs to be done in each case. For example, in c) above, do you assume they forgot to clock out and in for lunch and subtract an hour?</p>
<p>Once you&#8217;ve determined the possibilities, then you can write simpler SELECTs to extract and process each of those cases rather than one big monolithic SELECT (which is vastly harder to write, debug and maintain than smaller procedural steps.) One such method would be an initial pass to identify in/out pairs and create a temporary table of durations while also identifying and addressing anomalies (&#8217;in&#8217;s without corresponding &#8216;out&#8217;s and vice versa).<br /><b>References : </b></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I am having an SQL INNER JOIN problem&#8230;? by Colanth</title>
		<link>http://subeijihua.org/inner-join/i-am-having-an-sql-inner-join-problem/comment-page-1#comment-2779</link>
		<dc:creator>Colanth</dc:creator>
		<pubDate>Sat, 13 Feb 2010 06:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://subeijihua.org/inner-join/i-am-having-an-sql-inner-join-problem#comment-2779</guid>
		<description>... WHERE &lt;company ordered from&gt; NOT IN(SELECT COMPANY FROM ...)

would be something close to what you need - the exact syntax depends on the dialect of SQL and the layout of your tables.&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>&#8230; WHERE &lt;company ordered from&gt; NOT IN(SELECT COMPANY FROM &#8230;)</p>
<p>would be something close to what you need &#8211; the exact syntax depends on the dialect of SQL and the layout of your tables.<br /><b>References : </b></p>
]]></content:encoded>
	</item>
</channel>
</rss>

