1. Table : ASSIGNMENT D ASSIGNMENT N NMAON DATE MM EMP MUN AiNO AlON CHO AONHOURI NON CHA 35 42 t00 22Mar14 22 Mai 1427 22 Mar 148 22Ma 14 8 22 Mar 14 25 22Ma-14 22 117 14 11 117 346 20 0 10 1004 106 100 1007 100 104 113 100 01 01 22 42 2125 40036 190 6 22 Ma14 26 22Mar14 21Mar14 15 23Mar 14 16 09 4180 100 1010 tot 115 117 24 43 34 23 Ma14 1 23 Mar 14 25 23Ma 1422 21 Mar 14 15 23 Mar 1422 23 14 8 2Mar 1425 24 Mar 425 1012 1013 1014 116 104 20 24 19350 a 75 105 106 117 117 0 45 4930 131 29 mot 41.45 61 47 100 00 tota 22 49 1 1019 110.50 125.00 104 001 24 Ma 14 15 101 24 Mar 1422 24Ma1422 24 Mar 14 2 24Ma 14 15 24 Mar. 14 102 1003 115 106 11050 12500 41 45 4376 mes 140 11 502 33 42 117 2. TABLE: EMPLOYEE IMLOVEE New Serwe 1a so 01 Dec s00 Dend 100 104 Ateph Rare Are 10 19 14 Ave K K 01 Feb-s s00 K 106 1000 500 Akreo Wade Rn det Oleko Wan Setee Mare 13 100 15 18 501 11.0ec95.500 04 Ap1 S La (K:110 111 K112 16 12 10 Dele :113 K114 115 116 Deteet entrood Jones K. fewarg Pat 20 Apse ns01 05M 10 19 15 Trw .117 118 Wameoe Fiarma Ged Arg Jumes 10 04 Jnds10 3. TABLE: JOB T C LESCON nO A n LAT PEA 20 N1 20 13 24 Mar14 20 Nov 13 20Nw 13 Phoome Ste Aral Dwatere Desgre Ekica Enge Me npree CENree Clnca o DSS Ara Applom Despe Bo Tachoan C pat 125.00 84 50 07 00 55 00 20 Nw13 20 13 24 Mar.14 20 N 1 20 13 4606 4 10 3405 4. TABLE: PROJECT PROECT ICU HOU . PHOI VALUE N ALANE EM M 1000 00 10 211 n t00M 20 102 2 co 107 5360000 Aber We Mng T :25
SQL
SQL stands for Structured Query Language, is a form of communication that uses queries structured in a specific format to store, manage & retrieve data from a relational database.
Queries
A query is a type of computer programming language that is used to retrieve data from a database. Databases are useful in a variety of ways. They enable the retrieval of records or parts of records, as well as the performance of various calculations prior to displaying the results. A search query is one type of query that many people perform several times per day. A search query is executed every time you use a search engine to find something. When you press the Enter key, the keywords are sent to the search engine, where they are processed by an algorithm that retrieves related results from the search index. Your query's results are displayed on a search engine results page, or SER.
Write the SQL code to list the employee number, last name, first name, and middle initial of all employees whose last names start with Smith. In other words, the rows for both Smith and Smithfield should be included in the listing. Sort the results by employee number.
![1. Table : ASSIGNMENT
ASSIGNMENT
ASSON NUM ASSIGN DATE PROJMM EMP MM ASSIONO8
ASSGN CHG HR
ASSON HOURS
ASSIGN CHARGE
22-Mar-14
22 Ma14 22
22Var 14
t00
35
5.75
1002
1003
117
609
42
20
145 11
117
103
500
34 56
69 10
408 56
1004
22-Mar-14 18
59
1005
1000
1007
22Mar-14 25
22-Mer-14 22
22-Var-14 25
22-Mar-14
21Mar.14 15
23-Mar-14 15
106
104
501
301
96.75
96 75
50.75
22
42
2128
400 36
113
192 6
100
105
100
1010
115
117
501
50
96.75
3456
141 80
24
23-Var-14 25
21Mar.14 15
23 Mar-14 25
21-ar 14 22
tot1
105.0
43
451.50
1012
1013
1014
106
115
104
:001
501
34
20
24
328.86
9675
875
190 50
1015
1010
1017
21Mar.14 15
23-Mar-14 22
23-Mar-14 18
109
106
117
503
502
105 00
34.55
61
47
1545
49350
13129
1014
1019
23-Var-14 25
24 Mar.14 25
24Mar-14 15
117
104
101
509
501
S02
3455
110 50
12500
22
49
31
541 45
387 50
1001
24-Mar-14 22
501
11050
27
1022
1003
24Mar.14 22
24Mar-14 22
115
106
501
502
110.50
125.00
49
35
541 45
24-Va 14 15
24 Mar.14 st
437 56
2mes
145 11
33
1025
117
509
34 55
42
2. TABLE: EMPLOYEE
EMPLOVEE
EMP NI. EMP LNAM EMP FRAM. EMP PTIA EMP HSIEDAT JOD CO EMP YEAI
News
John
Sere
Dred
17
100
104
Aegh
Rares
Johesan
01-Dec6 s00
15Mova7 501
01 Feb-as 500
June
10
19
K
K.
Ane
C106
106
107
106
Akca
14
Smtte
Aoreo
Wao
22-Ana4 s00
100093 500
Maria
13
15
E 10
110
Senh
Oleko
Wabasn
2Aup1 501
1897501
11-Dec-95-500
Lary
Ged
11
16
111
04Ap1 S06
112
Setace
Date
23-dd4 S00
12
E113
Joentrood
Detert
Arnele
15Nov96 50e
10
13
20 Aup9s 508
Jana2 s01
a5 Mer 97510
R:114
Jores
Banarg
Pst
Wameoe
Frorma
Trve
15
116
Geid
10
10
117
118
Arga
James
19an6 500
04 Jands510
3. TABLE: JOB
DB_COEJDS DESCRPTION. JOB_CHG OL- DE LAST_UPDA
20No13
Propanmer
Sptem Aralyat
Dwatee Desprer
Ekcical Enge
Mechescgreer
OM Engreer
Ckonca Suppor
DSS Araa
Applicnone Desgrer
Bio Tachscan
355
501
20 ov-13
12500
84 50
87 00
24Mar.14
20Nov 13
55.79
2687
4505
20 Nov.13
20 Nov. 13
506
20w 13
24 Mar. 14
20 13
20--13
507
45.10
346
1638
Caneral Sppat
4. TABLE: PROJECT
PROIECT
PROJ N PROJ NAE PROJ VALUE. PROJ BALANE EMP N
1453500 00
Evegon
100050 00 100
211 D0 1n
s00345 20 102
2300 00 10
Amber Wave
E22
25
Rolling Tide
Stang
2050600 00](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F5e1132c9-beab-4f38-876e-7cf6bf6331b8%2F00fe5485-9a67-4a9c-a4fb-d21296080848%2Fbr4wjak_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)