-3

我有表匹配:

ID  (int)
ID_Match (int)
ID_Player (int)
Attend   (bit)
Goals (int)

当我写

Select * from Match 

我有这个:

       ID   ID_Match    ID_Player  Attend   Goals
1       69    1            10       1         2
2       70    1            11       0         0

我想要这个:

ID_Player ID_Match  Attend  Goals
    10       1        1       2

你有什么想法吗?

4

1 回答 1

0

试试这个 :

select top 1 ID_Player ,ID_Match ,Attend ,Goals from table_name order by ID asc
于 2013-07-11T06:46:07.523 回答