473,405 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Min value with all other columns from the table

I have table like this

ind_id loc_id date_created ip_address
1 20 10-12-2008 170.30
1 15 01-08-2009 175.25
2 20 11-12-2002 145.80
1 20 18-02-2003 160.50
3 20 22-10-2002 145.70
1 20 11-06-2002 130.45
2 15 19-01-2001 170.30
1 20 13-11-2000 180.45


select ind_id, min(date_created) from table group by ind_id.

I ma getting 1 13-11-2000
2 19-01-2001
3 22-10-2002

But I want records of ind_id's with minimum date_created along all other data.

Like: 1 20 13-11-2000 180.45
2.........
3............
Apr 24 '14 #1
1 1328
Rabbit
12,516 Expert Mod 8TB
Join the min query back to the table.
Apr 24 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: simonmarkjones | last post by:
Hi I want a user to select a name (from a table) from a dropdown box but then use the corresponding email address for that person also stored in the users table in a colmn called email and store in...
7
by: grummanf6f | last post by:
Hello Gurus, this probably is real simple for you but for me it's a bummer. I have one table in which I have basic data collected of schools. I have another data that is detailed info on the...
3
by: priyanka1915 | last post by:
Situation is : i got output like open=4324= volumn=435.456, change=56, etc... now i want to enter this value in table and this value updates after 3 sec and it should also update in dat table
4
by: billa856 | last post by:
Hi, I want to know how can we set the value of Textbox = value of field in table when we select a value form combobx. example i have a table customer CID CNAME CSALARY 1 Billa ...
4
rajiv07
by: rajiv07 | last post by:
Hi to all I want to know How to update null value in table. Is any idea please. Thanks Regards RajivGandhi
4
by: bouldergirl | last post by:
I have 2 tables, Table 1 and Table 2 (see attached images)....Although in the example tables (attached), only a few records are shown, they both have about 1000 GRID values: Table 1 contains...
4
by: sedigh mohseni | last post by:
hi what is visual diffrence between none an hidden value for table element's border-style property? thanks in advance.
0
by: shanboy | last post by:
I want to create an online objective type question paper generator which generates random questions based on the number of questions to be generated from a particular subject say science. I have a...
2
by: chetu19800 | last post by:
i need to add manual value by coding and also add name depended on queary how can set row source type are both value and table/query in combo box. example : i like add ALL and other value fill...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.