MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

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 Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 21st, 2000, 10:40 AM
tlkhjb tlkhjb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 5 tlkhjb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hallo,
I'm from german, so I can't write english verry well!

My problem is the follows:
There are two tables
both with an Column there are inside the same
the first one is a main table with entries like PersonalDB FirstName, LastName, Birthday aso...
the second one is a table "under" the main table with entries like PersonalDB EntryDate, Message, User, timestamp aso...

that means the second table has any entries wich will show if choose one entry from the first table. Understand me?

first table secon table
1. 1.1
2. 1.2
3. 1.3
-- 2.1
-- 2.2
-- 3.1
-- 3.2
...

Well, I'm looking for a posibility that you can see all entries of the first tables and the youngest data of the second table
LIKE:

first table second table
1. 1.3
2. 2.2
3. 3.2

Understand me? I hope so! And I need YOUR help!
Please help, if you can an send me an email or post your answer behind my posting!

I have used the follow select-statement:

SELECT rma.rmanr, geraet, verlauf.bearbeiter, verlauf.massnahme, verlauf.timestamp, verlauf.status
FROM rma, verlauf
WHERE rma.rmanr=verlauf.rmanr
ORDER BY verlauf.timestamp desc

this is a sort but it is not grouped!
If I grouped this I have got fals datas!
I have to have a statement wich will first order an after this the result has to group!

Thanks a lot!
By,
Hannes

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > SELECT about 2tables PLEASE HELP!


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 5 hosted by Hostway