Update README.md
Browse files
README.md
CHANGED
@@ -185,9 +185,9 @@ CREATE TABLE Shipment_Items (
|
|
185 |
```
|
186 |
|
187 |
### Questions
|
188 |
-
|
189 |
```sql
|
190 |
-
SELECT
|
191 |
```
|
192 |
|
193 |
What are the product price and the product size of the products whose price is above average?
|
@@ -195,9 +195,9 @@ What are the product price and the product size of the products whose price is a
|
|
195 |
SELECT product_price , product_size FROM products WHERE product_price > (SELECT avg(product_price) FROM products)
|
196 |
```
|
197 |
|
198 |
-
|
199 |
```sql
|
200 |
-
SELECT
|
201 |
```
|
202 |
|
203 |
### Team
|
|
|
185 |
```
|
186 |
|
187 |
### Questions
|
188 |
+
hat are the email address, town and county of the customers who are of the least common gender?
|
189 |
```sql
|
190 |
+
SELECT email_address , town_city , county FROM customers GROUP BY gender_code ORDER BY count(*) ASC LIMIT 1
|
191 |
```
|
192 |
|
193 |
What are the product price and the product size of the products whose price is above average?
|
|
|
195 |
SELECT product_price , product_size FROM products WHERE product_price > (SELECT avg(product_price) FROM products)
|
196 |
```
|
197 |
|
198 |
+
Which customers did not make any orders? List the first name, middle initial and last name.
|
199 |
```sql
|
200 |
+
SELECT T1.customer_first_name , T1.customer_middle_initial , T1.customer_last_name FROM Customers AS T1 WHERE T1.customer_id NOT IN (SELECT T2.customer_id FROM Orders AS T2)
|
201 |
```
|
202 |
|
203 |
### Team
|