Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 1st, 2004, 07:38 AM
DevAdmin DevAdmin is offline
Utility Bot
ASP Free Novice (500 - 999 posts)
 
Join Date: Feb 2004
Posts: 854 DevAdmin Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: < 1 sec
Reputation Power: 0
Article Discussion: How to Retrieve Data from a Single Table

In this chapter, "How to Retrieve Data from a Single Table", you’ll learn how to code SELECT statements that retrieve data from a single table. You should realize, though, that the skills covered here are the essential ones that apply to any SELECT statement you code…no matter how many tables it operates on, no matter how complex the retrieval. So you’ll want to be sure you have a good understanding of the material in this chapter before you go on to the chapters that follow. This comes from Chapter 3 by Bryan Syverson in Murach's SQL for SQL Server (Murach, ISBN 1-890774-16-2, 2002).


Read the full article here: How to Retrieve Data from a Single Table

Reply With Quote
  #2  
Old June 15th, 2004, 02:46 PM
centrextrainer centrextrainer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: South Wales, United Kingdom
Posts: 2 centrextrainer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by DevAdmin
In this chapter, "How to Retrieve Data from a Single Table", you’ll learn how to code SELECT statements that retrieve data from a single table. You should realize, though, that the skills covered here are the essential ones that apply to any SELECT statement you code…no matter how many tables it operates on, no matter how complex the retrieval. So you’ll want to be sure you have a good understanding of the material in this chapter before you go on to the chapters that follow. This comes from Chapter 3 by Bryan Syverson in Murach's SQL for SQL Server (Murach, ISBN 1-890774-16-2, 2002).


Read the full article here: How to Retrieve Data from a Single Table

Hi, I've just been reading through the How to Retrieve Data from a Single Table and was wondering if someone could help with the following as I cant seem to find the answer to what is probably an easy question for the experts. I'm a Visual FoxPro 6 user and use the following code to almost accomplish what I'm after

SELECT * FROM mytabletemp INTO TABLE LISTINGS GROUP BY TITLE
This works perfectly and removes any duplicate entries with the same TITLE
My problem (and yes it's been a problem!) is that I have four possible country of ORIGIN codes such EEC - USA - CAN - DOM

What I'm trying to do is search out any duplicate TITLES as shown below but keep the USA ones
Example:

ADAMS, BRYAN - BEST OF - EEC
ADAMS, BRYAN - BEST OF - USA
ADAMS, BRYAN - BEST OF - CAN
ADAMS, BRYAN - BEST OF - DOM

How do I remove three of the above just keeping the USA title?
I would be more than grateful if anyone can suggest the answer
Kindest regards
Lee

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherDevelopment Articles > Article Discussion: How to Retrieve Data from a Single Table


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway