2020-04-06 18:49:56 +00:00
|
|
|
---
|
|
|
|
id: 5e7b9f170b6c005b0e76f08b
|
2020-04-22 04:37:02 +00:00
|
|
|
title: Make a Relational Database
|
2020-04-06 18:49:56 +00:00
|
|
|
challengeType: 11
|
|
|
|
videoId: MQ5z4bdF92U
|
2021-01-13 02:31:00 +00:00
|
|
|
dashedName: make-a-relational-database
|
2020-04-06 18:49:56 +00:00
|
|
|
---
|
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
|
|
|
What SQL command would you use to retrieve all users that have the email address `quincy@freecodecamp.org`?
|
|
|
|
|
|
|
|
## --answers--
|
|
|
|
|
2021-01-21 18:12:42 +00:00
|
|
|
```sql
|
2020-11-27 18:02:05 +00:00
|
|
|
SELECT Users WHERE email="quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2021-01-21 18:12:42 +00:00
|
|
|
```sql
|
2020-11-27 18:02:05 +00:00
|
|
|
SELECT Users WHERE email IS "quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2021-01-21 18:12:42 +00:00
|
|
|
```sql
|
2020-11-27 18:02:05 +00:00
|
|
|
SELECT ALL Users WHERE email="quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2021-01-21 18:12:42 +00:00
|
|
|
```sql
|
2020-11-27 18:02:05 +00:00
|
|
|
SELECT * FROM Users WHERE email IS "quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2021-01-21 18:12:42 +00:00
|
|
|
```sql
|
2020-11-27 18:02:05 +00:00
|
|
|
SELECT * FROM Users WHERE email="quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
5
|
|
|
|
|