Home > Database > Mysql Tutorial > body text

mysql-根据所给序号如何查询出分组1 和分组2?

WBOY
Release: 2016-06-06 09:39:38
Original
1143 people have browsed it

mysql

序号 分组1 分组2
1 1 5
2 2 4
3 3 3
4 4 2
5 5 1
6 5 1
7 4 2
8 3 3
9 2 4
10 1 5
11 5 1
12 4 2
13 3 3
14 2 4
15 1 5
16 1 5
17 2 4
18 3 3
19 4 2
20 5 1
21 1 5
22 2 4
23 3 3
24 4 2
25 5 1
26 5 1
27 4 2
28 3 3
29 2 4
30 1 5
31 5 1
32 4 2
33 3 3
34 2 4
35 1 5
36 1 5
37 2 4
38 3 3
39 4 2
40 5 1

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template