-

   rss_sql_ru_access_programming

 - e-mail

 

 -

 LiveInternet.ru:
: 16.03.2006
:
:
: 4

:


Last

, 17 2017 . 15:33 +
, .
SELECT Comment.[ ], Comment.com, Comment.date_com
FROM (SELECT [ ], Max(date_com) AS lastdate FROM Comment GROUP BY [ ])  AS lastc INNER JOIN Comment ON (lastc.[ ] = Comment.[ ]) AND (lastc.lastdate = Comment.date_com);

, , , First Last. ?

, :
SELECT Comment.[ ], Comment.com, Last(Comment.date_com) AS [Last-date_com]
FROM (SELECT [ ], Max(date_com) AS lastdate FROM Comment GROUP BY [ ])  AS lastc INNER JOIN Comment ON (lastc.[ ] = Comment.[ ]) AND (lastc.lastdate = Comment.date_com);

http://www.sql.ru/forum/1274347/ispolzovanie-last


: [1] []
 

:
: 

: ( )

:

  URL