-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathquerying.main.key
More file actions
executable file
·63 lines (63 loc) · 1.26 KB
/
querying.main.key
File metadata and controls
executable file
·63 lines (63 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
from information_schema.columns
select column_name, data_type
where table_name='Ai'
;
from Ai
select NTNM
;
from AiWe a,Ai b
select *
where NTNM = FOXBAT%,a.NTNM = b.NTNM
;
from Ai a,AiHi b
select NTNM,SRVC
where SVNM = MIG-19%,a.NTNM = b.NTNM
;
from AiFuDi a,Ai b
select avg(LGTH)
where a.NTNM = b.NTNM
;
from Ai a,AiWi b,AiWiDi c
select *
where SPAN > 25,a.NTNM = b.NTNM,b.NTNM = c.NTNM
;
from AiFuDi a,Ai b,AiWi c,AiWiDi d
select avg(LGTH)
where SPAN > 25,a.NTNM = b.NTNM,b.NTNM = c.NTNM,c.NTNM = d.NTNM
;
from AiCo a,Ai b
select *
where SVNM = MIG-21MF,a.NTNM = b.NTNM
;
from AiPe a,Ai b,AiCoAr c
select CMBR
where WNME = ATOLL,a.NTNM = b.NTNM,b.NTNM = c.NTNM
;
from Ai a,AiCoAr b
select *
where WNME = ACRID,CLASS = MISSILE,a.NTNM = b.NTNM
;
from Ai a,AiCoAr b
select count(*)
where WNME = ACRID,CLASS = MISSILE,a.NTNM = b.NTNM
;
from AiPeSp a,Ai b,AiCoAr c
select max(*)
where WNME = ACRID,CLASS = MISSILE,a.NTNM = b.NTNM,b.NTNM = c.NTNM
;
from AiFuDi a,Ai b
select min(LGTH)
where ROLE = %I%,a.NTNM = b.NTNM
;
from Ai a,AiFuDi b
select min(LGTH)
where ROLE = %B%,a.NTNM = b.NTNM
;
from Ai a,AiCoCr b
select count(*)
where NMCRW = 2,a.NTNM = b.NTNM
;
from Ai a,AiCoCr b
select count(*)
where NMCRW = 1,a.NTNM = b.NTNM
;