Вы находитесь на странице: 1из 21

1.

5
2.
:


5
3.

:

5
4.
:


5
5.
:

6.
:
SQL
QBE
BCE

5
7.

-:

Presentation logic
Business logic
Select logic
Database logic

5
8.

Database Logic
Presentation Logic
Database Manager
Business Logic

5
9.

PRG
SQL
CDX
DBF

5
10.



5
11.

5
12.
-

Presentation logic, Business Logic
Database logic

5
13.

HLMT
HTML

5
14.

linenet
Ethernet

5
15.

:

DO < >
SET PROCEDURE TO < >
CALL < >

5
16.
:

RETURN
LOCATE
CANCEL
ENDIF

17.
<a href=url>


5
18.

EXIT :

5
19.
DO
:

WHILELOOP.ENDDO,

LOOP

5
20.
<1> ---</H1>


5
21.
SQL :
INSERT
READ
GET

5
22.
JavaScript :
list
say
alert

write

5
23.
FoxPro:

IF .. ENDIF
DO CASE ENDCASE
DO WHILE .. ENDDO
BROWSE . ENDBROWSE
FOR .. ENDFOR

5
24.
:
INDEX ON ..
LIST ON
BROWSE ON

5
25.
:

1
2

10

5
26.
FoxPro , ALL,
:


,
N
N

5
27.
FoxPro , REST,
:

,
N

5
28.
FoxPro , Next<N>,
:


,
N
N

5
29.
FoxPro ,
RECORD<N>, :


,
N
N

5
30.
FoxPro GO TOP :


5
31.
FoxPro GO BOTTOM :


5
32.
FoxPro GO 3 :


33.
:

5
34.
:


5
35.
:

5
36.
:

5
37.

:
1
2

5
38.

:

5
39.

:


5
40.

:
1:
1:1
:

5
41.

:

5
42.

:

5
43.
:


44.
:


5
45.

:

5
46.
:
3
1
2

5
47.
:


5
48.
:


5
49.

:

5
50.
:


5
51.
:

5
52.

:


5
53.
:

5
54.
1_ , :

5
55.

:
1
2
3

4
5
6

5
56.

, :

5
57.
2- , :

5
58.
3- , :

5
59.
-,
:

5
60.

R3 = R1 U R2

5
61.

R3 = R1 R2

5
62.

R3 = R1 U R2

R3 R1 R2
R3 R1 , R2 ,
R1

5
63.

R3 = R1 R2

R3 , R1,
R2
R3 R1 R2

5
64.
R3 = R1 R2

5
65.
SQL :

-

5
66.
SQL :

CREATE INDEX
ALTER TABLE
DROP TABLE
CREATE TABLE
ALTER VIEW

5
67.

DELETE
DROP
WHILE
UPDATE
INSERT

5
68.

:

SQL

UPDATE
HAVING
SELECT
DELETE
FROM

5
69.
SELECT SQL:

SELECT
FROM
WHERE
GROUP BY
ORDER BY

5
70.

SQL: SELECT(1), WHERE(2), FROM(3), HAVING(4), GROUP
BY(5):

1,3,2,5,4
1,2,3,4,5
1,5,2,4,3
1,5,2,3,4

5
71.

:
SELECT
WHERE
FROM

()

GROUP BY
ORDER BY
HAVING

5
72.

:

SELECT
FROM
HAVING
WHERE
GROUP BY

5
73.
:

FROM
WHERE
GROUP BY
HAVING
SELECT

5
74.
:

SELECT
WHERE
FROM
HAVING
GROUP BY

5
75.
:

WHERE
HAVING
ORDER BY
FROM
SELECT

5
76.

SELECT SQL
:

SELECT
HAVING
DISTINCT
ALL
FROM

5
77.

:

SELECT
SELECT
SELECT
SELECT
SELECT

ALL
SUM ()
COUNT ()
*
TOP

5
78.
10
:

20

SELECT * FROM
WHERE BETWEEN 10 AND 20
SELECT * FROM
WHERE IN (10,20)
SELECT * FROM
WHERE >= 10 AND <=20
SELECT * FROM
WHERE =10 OR =20

5
79.
20 50

:
SELECT * FROM
WHERE BETWEEN 20 AND 50
SELECT * FROM
WHERE IN (20, 50)
SELECT * FROM
WHERE = 20 OR =50
SELECT * FROM
WHERE >=20 AND <=50

5
80.
,

:
SELECT * FROM
WHERE =
SELECT * FROM
WHERE = *
SELECT * FROM
WHERE LIKE *
SELECT * FROM
WHERE LIKE *

5
81.
,
, :
SELECT * FROM
WHERE <> AND <>
SELECT * FROM
WHERE <> OR <>
SELECT * FROM
WHERE NOT IN ( , )
SELECT * FROM
WHERE NOT BETWEEN ( AND )

5
82.

SQL

NOT
NOT
NOT
NOT
NOT

EXISTS
BETWEEN
SELECT
IN
LIKE

5
83.

:
SELECT * FROM
ORDER BY

SELECT * FROM
WHERE ASC
SELECT * FROM
ORDER BY DESC
SELECT * FROM
GROUP BY

5
84.

:
SELECT , SUM ()
FROM
GROUP BY
SELECT , SUM ()
FROM
GROUP BY
SELECT , COUNT (*)
FROM
GROUP BY
SELECT , SUM(*)
FROM
GROUP BY

5
85.
:

COUNT
MIN
ABS
MAX
SUM
AVG

5
86.
:

AVG
COUNT
SUM
MAX
MIN

5
87.

:

, ,
,

5
88.

:
SELECT A.* AND SELECT B.*
FROM A. = B.
SELECT A.* , B.*
FROM A,B
WHERE A. = B.
SELECT *
FROM A INNER JOIN B ON A. = B.
SELECT A.* , B.*
FROM A,B

5
89.
:

A. = B.
A. = B.
A._ = B._
A._ = A._

5
90.
:
,
,

,

5
91.
: SELECT *
FROM
WHERE BETWEEN 10 AND 30
:

10 30
10 30
10 30
10 30

5
92.
: SELECT *
FROM
WHERE > 30 AND IN (
, )
:
, >
30
,
> 30
, > 30

5
93.
: SELECT AVG()
FROM
WHERE =
:

5
94.
: SELECT , SUM ()
FROM
GROUP BY
:

5
95.

:
SELECT _, _,

FROM S , SP
, P
WHERE S. =
SP._
AND P. =
SP._
AND P. =

:


5
96.
: SELECT _
FROM
WHERE _ IN
(SELECT _
FROM
WHERE _ IN (S1,
S5))
:

S1 S5
S1 S5
, S1
S5

5
97.
: UPDATE
SET = 50
WHERE =
:


5
98.

: DELETE
FROM
WHERE < 5
:
< 5
< 5
<5

5
99.
: UPDATE
SET =
WHERE =
:

5
100.
: INSERT INTO (_, )
VALUES (P20, )
:


Оценить