假設你有一個像下面這樣的投影:拉首先從SQL組匹配的行
Artist Painting Year
---------------------------------------
Alfred Birds 1945
Alfred Apples&Oranges 1947
Ben ZealousNeighbours 1912
Calum Hope Spliced 1760
Calum Horseplay 1765
Calum Earth 1780
David Apples&Oranges 1947
如何返回第一個下列關係:
Artist Painting Year
---------------------------------------
Alfred Birds 1945
Ben ZealousNeighbours 1912
Calum Hope Spliced 1760
David Apples&Oranges 1947
即先畫每個畫家畫。 。
ANSI SQL只
應該發生什麼,那裏有兩幅畫同年? – egrunin 2012-02-09 22:14:22
這兩個,按字母順序返回,雖然沒有規定 – AlasdairC 2012-02-09 22:16:46