You are here: Re: Need Emergency Help with SQL Query (difficulty: moderate) « MsSQL Server « IT news, forums, messages
Re: Need Emergency Help with SQL Query (difficulty: moderate)

Posted by Ed Murphy on 11/30/06 10:03

othellomy@yahoo.com wrote:

> Delete Appointment a
> Where exists (select 'hi there'
> From Entity e
> Where a.attendee = e. attendee
> Group by e. attendee
> Having count(e. attendee) <= 1)

A_Appointment doesn't have an 'attendee' column. Original post: "One
appointment may have multiple attendees (Appointment_Entity)".

Reworking this to use AX_Appointment_Entity (and to change 'delete' to
'delete from') ought to lead to another valid solution.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация