Sql list students name who never borrowed/ reserve a book
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Sql
list students name who never borrowed/ reserve a book
![XAMPP or
| 100 | 101 | 2000-07-17|
15 rows in set (0.000 sec)
MariaDB [tentaq4]> select • from student;
| sid | sname I discount age
45 1
SE
35 |
EE
22 | Dustin
| 28 | Yuppy
29 | Brustus
31 | Larken
| 32 | Andy
Guppy
58 Rusty
00°L
00°6
| 00°T
SS
25
00 8
| 00°8
00°S
SE
| SE
35
SE
64 Herti
71 | Zorba
74 | Herti
00°L
10.00
9-
| 00°6
00°E
SE
25
85
Art
| 00°E
| 00°E
| E9
| 6T
95 | Bob
13 rows in set (0.000 sec)
MariaDB (tentaq4]> describe student;
+-
| Field I Type
| Null | Key | Default | Extra |
smallint(6) | NO
| varchar(20) | YES |
float (6,2) | YES I
| tinyint(4) | YES
| PRI
NULL
PTS
sname
discount
NULL
ade
אחךך
4 rows in set (0.010 sec)
MariaDB [tentaq4]> describe book;
---
+.
| Field | Type
| Null | Key | Default | Extra |
bid I
smallint(6) | NO
PRI | NULL
bname I | YES
varchar (20)
theme varchar(15) | YES
NULL
3 rows in set (0.006 sec)
MariaDB [tentaq4]> describe reservation;
| Field | Type
| Null | Key | Default | Extra |](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fe8260224-635c-426e-a960-28f2cf28de1f%2F9f447546-b556-4090-b44c-69616ddc0818%2F8fh7zd9.jpeg&w=3840&q=75)
Transcribed Image Text:XAMPP or
| 100 | 101 | 2000-07-17|
15 rows in set (0.000 sec)
MariaDB [tentaq4]> select • from student;
| sid | sname I discount age
45 1
SE
35 |
EE
22 | Dustin
| 28 | Yuppy
29 | Brustus
31 | Larken
| 32 | Andy
Guppy
58 Rusty
00°L
00°6
| 00°T
SS
25
00 8
| 00°8
00°S
SE
| SE
35
SE
64 Herti
71 | Zorba
74 | Herti
00°L
10.00
9-
| 00°6
00°E
SE
25
85
Art
| 00°E
| 00°E
| E9
| 6T
95 | Bob
13 rows in set (0.000 sec)
MariaDB (tentaq4]> describe student;
+-
| Field I Type
| Null | Key | Default | Extra |
smallint(6) | NO
| varchar(20) | YES |
float (6,2) | YES I
| tinyint(4) | YES
| PRI
NULL
PTS
sname
discount
NULL
ade
אחךך
4 rows in set (0.010 sec)
MariaDB [tentaq4]> describe book;
---
+.
| Field | Type
| Null | Key | Default | Extra |
bid I
smallint(6) | NO
PRI | NULL
bname I | YES
varchar (20)
theme varchar(15) | YES
NULL
3 rows in set (0.006 sec)
MariaDB [tentaq4]> describe reservation;
| Field | Type
| Null | Key | Default | Extra |
![MariaDB (tentaq4]> INSERT INTO Reservation VALUES(100,101,STR_TO DATE('17
Query OK, 1 row affected (0.008 sec)
MariaDB [tentaq4]> show tables;
Tables_in_tentaq4 |
book
reservation
student
3 rows in set (0.003 sec)
MariaDB (tentaq4]> select from book;
| bid | bname
| theme
Tet
101 | Lake Travels | Drama
102 Star War
|Fiction
Adventure
103 Flipper
104 Red Eye
Horror
4 rows in set (0.001 sec)
MariaDB [tentaq4]> select from reservation;
| sid | bid | rday
22 | 101
22 |
1996-11-10 I
TOT
102 1996-11-10
22 | 103 | 1998-08-10
22 | 104 | 1998-07-10
31 | 102 | 1998-11-11
31 | 103 | 1998-06-11
31 | 104 1998-11-12
58 103 1996-12-11
19
101
64 | 102 | 1998-08-05
60-80-8661
71 | 102 | 2000-07-15
71
74 103 1998-08-05
100 | 101 | 2000-07-15
| 100 | 101 | 2000-07-17
S0-80-666T EOT
-----+
15 rows in set (0.000 sec)
MariaDB (tentaq4]> select * from student;](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fe8260224-635c-426e-a960-28f2cf28de1f%2F9f447546-b556-4090-b44c-69616ddc0818%2Ft5f2yl4.jpeg&w=3840&q=75)
Transcribed Image Text:MariaDB (tentaq4]> INSERT INTO Reservation VALUES(100,101,STR_TO DATE('17
Query OK, 1 row affected (0.008 sec)
MariaDB [tentaq4]> show tables;
Tables_in_tentaq4 |
book
reservation
student
3 rows in set (0.003 sec)
MariaDB (tentaq4]> select from book;
| bid | bname
| theme
Tet
101 | Lake Travels | Drama
102 Star War
|Fiction
Adventure
103 Flipper
104 Red Eye
Horror
4 rows in set (0.001 sec)
MariaDB [tentaq4]> select from reservation;
| sid | bid | rday
22 | 101
22 |
1996-11-10 I
TOT
102 1996-11-10
22 | 103 | 1998-08-10
22 | 104 | 1998-07-10
31 | 102 | 1998-11-11
31 | 103 | 1998-06-11
31 | 104 1998-11-12
58 103 1996-12-11
19
101
64 | 102 | 1998-08-05
60-80-8661
71 | 102 | 2000-07-15
71
74 103 1998-08-05
100 | 101 | 2000-07-15
| 100 | 101 | 2000-07-17
S0-80-666T EOT
-----+
15 rows in set (0.000 sec)
MariaDB (tentaq4]> select * from student;
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY