MySQL

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsDatabasesMySQL

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 Tutorialized Forums Sponsor:
  #1  
Old July 3rd, 2013, 09:19 AM
Jack1212 Jack1212 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jul 2013
Posts: 2 Jack1212 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 29 sec
Reputation Power: 0
Need to write simple query

Hi All, I have table below currenly table nfield comming in following format:

Major Group Major Description SIC Code SIC Description
08 Forestry 0811 Timber Tracts
08 Forestry 0831 Forest Nurseries
08 Forestry 0851 Forestry Services
09 Fishing 0912 Finfish
09 Fishing 0913 Shellfish

But I need to write a query in which Major Group, Major Description's same values will not repeate.

Major Group Major Description SIC Code SIC Description
08.............Forestry...............0811........ .Timber Tracts
...........................................0831... .......Forest Nurseries
...........................................0851... ......Forestry Services

09.............Fishing.................0912....... ..Finfish
...........................................0913... ......Shellfish
( considure dots as a blake space)

Please help me to write this query.

Jack

Reply With Quote
Reply

Viewing: Tutorialized ForumsDatabasesMySQL > Need to write simple query


Developer Shed Advertisers and Affiliates


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 | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap