2020-04-06 14:49:56 -04:00
|
|
|
---
|
|
|
|
id: 5e7b9f170b6c005b0e76f08b
|
2020-04-21 23:37:02 -05:00
|
|
|
title: Make a Relational Database
|
2020-04-06 14:49:56 -04:00
|
|
|
challengeType: 11
|
|
|
|
videoId: MQ5z4bdF92U
|
|
|
|
---
|
|
|
|
|
|
|
|
## Description
|
|
|
|
<section id='description'>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
## Tests
|
|
|
|
<section id='tests'>
|
|
|
|
|
|
|
|
```yml
|
|
|
|
question:
|
2020-05-31 13:57:09 +01:00
|
|
|
text: |
|
|
|
|
What SQL command would you use to retrieve all users that have the email address quincy@freecodecamp.org?
|
|
|
|
|
2020-04-06 14:49:56 -04:00
|
|
|
answers:
|
2020-05-31 13:57:09 +01:00
|
|
|
- |
|
|
|
|
```
|
|
|
|
SELECT Users WHERE email="quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
- |
|
|
|
|
```
|
|
|
|
SELECT Users WHERE email IS "quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
- |
|
|
|
|
```
|
|
|
|
SELECT ALL Users WHERE email="quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
- |
|
|
|
|
```
|
|
|
|
SELECT * FROM Users WHERE email IS "quincy@freecodecamp.org"
|
|
|
|
```
|
|
|
|
- |
|
|
|
|
```
|
|
|
|
SELECT * FROM Users WHERE email="quincy@freecodecamp.org"
|
|
|
|
```
|
2020-04-06 14:49:56 -04:00
|
|
|
solution: 5
|
|
|
|
```
|
|
|
|
|
|
|
|
</section>
|