Table Capture image : http://img844.imageshack.us/img844/6213/99730337.jpg
------------ PositionTable------------
ID ContentFK Position
11 100 1
12 101 1
13 104 2
14 102 2
15 103 2
16 105 3
17 106 3
18 107 2
----------Content Table ------------
ContentID UpdateDate Title
100 11.10.2009 Aol
101 12.10.2009 Microsoft
102 12.10.2009 e-Bay
103 12.11.2009 google
104 16.11.2009 novell
105 17.11.2009 asus
106 16.11.2009 nokia
107 11.11.2009 samsung
Who can help me to the question between the two tables My scenario.
Sort by number as Position 1,2,3. However, a number of the groups to list only one record (order by Position ASC (Position: 1,2,3)
With PositionTable.ContentFK = ContentTable.ContentID by UpdateDate of last update in ContentTablo
How I can get list same as result.
p.Postion p.ID p.ContentFK c.UpdateDate c.Title
1 12 101 12.10.2009 Microsoft
2 13 104 16.11.2009 novell
3 16 105 17.11.2009 asus
Thanks all,